Commit Graph

3962 Commits

Author SHA1 Message Date
Richard Stallman
424aa086e1 Comment change.
From-SVN: r3825
1993-03-22 07:11:36 +00:00
Richard Stallman
2b59952750 (incomplete_decl_finalize_hook): New variable.
(compile_file): Call incomplete_decl_finalize_hook.

From-SVN: r3824
1993-03-22 07:04:44 +00:00
Richard Stallman
b4892310d5 (init_decl_processing): Set that var.
(finish_incomplete_decl): New function.
(complete_array_type): Use 0 as default maxindex.

From-SVN: r3823
1993-03-22 07:04:18 +00:00
Richard Stallman
dc437e1631 (incomplete_decl_finalize_hook): Declared.
From-SVN: r3822
1993-03-22 07:03:45 +00:00
Richard Stallman
f8963631b9 Add __cimag, __cimag__, __creal, __creal__.
From-SVN: r3821
1993-03-22 05:34:40 +00:00
Richard Stallman
466e9220fd (initializer_constant_valid_p): Handle COMPLEX_CST.
From-SVN: r3820
1993-03-22 05:32:42 +00:00
Richard Stallman
4acbcee06b Back out previous change.
From-SVN: r3819
1993-03-22 04:07:33 +00:00
Richard Stallman
2fc3335291 (collect_expansion): Don't make # special in argless macro.
From-SVN: r3818
1993-03-22 02:03:01 +00:00
Richard Stallman
52a866cec9 (mulsidi3, umulsidi3): Add missing sign_extend
and zero_extend so all operands have them.

From-SVN: r3817
1993-03-21 22:35:49 +00:00
Michael Meissner
e7c2ea2d7d Fix dependency.
From-SVN: r3816
1993-03-21 22:11:23 +00:00
Michael Meissner
91d4931e7d Fix recent change for prototypes.
From-SVN: r3815
1993-03-21 21:29:57 +00:00
Richard Stallman
d632e92776 (copy_rtx_and_substitute, case USE):
Don't remove a subreg if ORIG had one.

From-SVN: r3814
1993-03-21 21:28:23 +00:00
Richard Stallman
5cb10f0e97 When making tm.h from config/vax/vms.h, change
any #include "vax/*.h" directives to use native VMS file syntax.

From-SVN: r3813
1993-03-21 18:59:52 +00:00
Richard Stallman
1bb53f1878 [VAXC]: Work around stdio.h's FILE_TYPE.
From-SVN: r3812
1993-03-21 18:59:13 +00:00
Richard Stallman
1bb8e5b1b8 #include "obstack.h".
From-SVN: r3811
1993-03-21 18:58:22 +00:00
Jeff Law
674345b107 reorg.c (mark_referenced_resources): Parameter include_called_routine changed to include_delayed_effects.
* reorg.c (mark_referenced_resources): Parameter include_called_routine
	changed to include_delayed_effects.  All references changed.
	(mark_set_resources): Likewise.
	(insn_references_resource_p): Likewise.
	(insn_sets_resource_p): Likewise.
	(mark_referenced_resources, case INSN): Do not mark any resources
	as referenced if we are not including delayed effects, and the
	given insn has delayed effects.
	(mark_set_resources): Likewise for resources which are set/clobbered.
	(fill_simple_delay_slots): Include delayed effects for the delay insn
	if we are searching after the delay insn for candiates.
	(dbr_schedule): When initializing `end_of_function_needs' include
	delayed effects.

From-SVN: r3810
1993-03-20 20:45:52 -07:00
Jeff Law
72abf94189 pa.h (INSN_SETS_ARE_DELAYED): Define for the PA.
* pa.h (INSN_SETS_ARE_DELAYED): Define for the PA.  Sets and
	clobbers that occur in millicode insns are delayed effects.
	(INSN_REFERENCES_ARE_DELAYED): Likewise but for argument references
	occuring in millicode insns.

From-SVN: r3809
1993-03-20 20:44:15 -07:00
Richard Kenner
742920c7bd (get_inner_reference): Simplify code by initializing OFFSET to integer_zero_node.
(get_inner_reference): Simplify code by initializing OFFSET to
integer_zero_node.
Do general index computation for ARRAY_REF and include lower bound of domain
in calculation.
(expand_expr, case ARRAY_REF): Include lower-bound in index computation.

From-SVN: r3808
1993-03-20 20:51:52 -05:00
Richard Kenner
ca86a57ae7 (fold, case PLUS_EXPR): Don't associate apart a constant operand.
From-SVN: r3807
1993-03-20 20:49:22 -05:00
Michael Meissner
404f986e04 Look at TARGET_CPU_DEFAULT to enable the use of gas.
From-SVN: r3806
1993-03-20 23:54:00 +00:00
Jeff Law
a4e4b55c0c * pa.h (singlemove_string): Declare.
From-SVN: r3805
1993-03-20 14:38:10 -07:00
Jeff Law
04486205d6 Initial revision
From-SVN: r3804
1993-03-20 13:29:46 -07:00
Jeff Law
2bc0b543f6 * pa.md (conditional branch patterns): Clean up constraints.
From-SVN: r3803
1993-03-20 12:54:15 -07:00
Jeff Law
da059cccd0 * pa.md (shadd reload patterns): Clean up output template.
From-SVN: r3802
1993-03-20 12:51:51 -07:00
Torbjorn Granlund
dac57de003 (init_expmed): Fix typo in last change.
From-SVN: r3801
1993-03-20 16:22:37 +00:00
Richard Kenner
280f58bab1 (make_compound_operation): Call recursively in the cases where we find a simplification.
(make_compound_operation): Call recursively in the cases where we find a
simplification.
(make_compound_operation, case SUBREG): If the recursive call changes the rtx
code and this is an appropriate SUBREG, use force_to_mode.

From-SVN: r3800
1993-03-20 07:11:32 -05:00
Richard Stallman
28d10ceaf5 (print_node): Print the chain of a STRING_CST.
From-SVN: r3799
1993-03-20 09:06:17 +00:00
Richard Stallman
8f7ac2203e (yylex): Copy the string value we get from __FUNCTION__.
From-SVN: r3798
1993-03-20 09:05:49 +00:00
Richard Stallman
2bb3413d31 (movqi): In address reg case, if d0
appears in the address, use d1 instead as intermediate reg.

From-SVN: r3797
1993-03-20 06:54:26 +00:00
Jim Wilson
14a8d07859 Correct partly nested comment.
From-SVN: r3796
1993-03-19 18:42:31 -08:00
Jim Wilson
7fe34fdfe7 (cse_process_notes): Replace NULL_RTX with just zero.
From-SVN: r3795
1993-03-19 18:17:48 -08:00
Jim Wilson
521f2d6fcb Add prototypes.
From-SVN: r3794
1993-03-19 18:17:20 -08:00
Jim Wilson
d3379e9151 Add prototypes.h
From-SVN: r3793
1993-03-19 18:14:45 -08:00
Jim Wilson
3eb76828b0 (gen_attr): Generate prototypes in header file.
From-SVN: r3792
1993-03-19 18:13:34 -08:00
Jim Wilson
51980b4a2b (DEBUG_SYMS_TEXT): Define.
From-SVN: r3791
1993-03-19 18:06:21 -08:00
Jim Wilson
ad3b403032 (xcoffout_declare_function): Call dbxout_source_file
before emitting .function psuedo-op.

From-SVN: r3790
1993-03-19 18:05:32 -08:00
Michael Meissner
149e4e000e If gas do not run mips-tfile.
From-SVN: r3789
1993-03-19 22:40:13 +00:00
Richard Kenner
5eebe2eb03 (synth_mult): Don't try to make recursive call if we would be shifting by a negative number.
(synth_mult): Don't try to make recursive call if we would be shifting
by a negative number.
(expand_mult): Don't negate VAL if it is negative.

From-SVN: r3788
1993-03-19 17:30:21 -05:00
Richard Kenner
fb5c8ce64a (simplify_plus_minus): Count CONSTs coming in and going out...
(simplify_plus_minus): Count CONSTs coming in and going out; we have
simplified things if we have more CONSTs going out even if we have the
same number of total terms.

From-SVN: r3787
1993-03-19 06:29:40 -05:00
Richard Kenner
b385aeda3f (zero_cost): New variable.
(init_expmed): Always pass some insn to recog.
Set shift_cost[0], shiftadd_cost[0] and shiftsub_cost[0] to something
reasonable.
Compute zero_cost.
(enum alg_code): Remove alg_none; add alg_zero and alg_m.
(struct algorithm): Rename field COEFF to LOG.
(synth_mult): Use new ops alg_zero and alg_m for multiplication by zero and
one, respectively.
Use MIN when helpful.
Be consistent and don't test cost before recursive call.
Don't special-case shift counts of zero; already handled elsewhere.
(expand_mult): First operation is always alg_zero or alg_m; remaining
operations can't be one of those.
Use proper subtargets for computations.
Remove special-cases for shift counts of zero.
Track value computed so far and make REG_EQUAL notes.

From-SVN: r3786
1993-03-19 06:27:23 -05:00
Richard Stallman
337633f9c6 (digest_init): Typo in last change.
From-SVN: r3785
1993-03-19 08:44:43 +00:00
Richard Stallman
665381933b (expand_assignment): Pass to_rtx's mode to expand_expr when assigning a result_decl.
(expand_assignment): Pass to_rtx's mode to expand_expr
when assigning a result_decl.
(expand_expr): For ERROR_MARK, give back 0 in TMODE if possible.

From-SVN: r3784
1993-03-19 08:42:28 +00:00
Richard Stallman
70a73141e0 (emit_call_1): Don't defer pops in const call.
From-SVN: r3783
1993-03-19 06:38:23 +00:00
Jim Wilson
50a9145ce3 current_function_prototype_line): New variables.
(current_function_prototype_file,
current_function_prototype_line): New variables.
(start_function): Set them.
(store_parm_decls): Use them for error and warning messages.

From-SVN: r3782
1993-03-18 14:01:56 -08:00
Richard Stallman
3e3f565813 (expand_expr): Don't ensure ref to a volatile value if it is a function.
From-SVN: r3781
1993-03-18 21:34:51 +00:00
Richard Stallman
12d073e7c8 (REALPART, IMAGPART): New token types.
(unary_expr): Handle REALPART, IMAGPART.

From-SVN: r3780
1993-03-18 21:32:24 +00:00
Richard Stallman
0c9cfa6f4f (digest_init): Handle COMPLEX_TYPE like other scalars.
From-SVN: r3779
1993-03-18 21:31:09 +00:00
Paul Eggert
c95c47f3e9 (expand_float): When converting an unsigned type U to a smaller or equal-sized floating type F where there's no hardware support for unsigned-to-float conversion...
(expand_float): When converting an unsigned type U
to a smaller or equal-sized floating type F where there's no
hardware support for unsigned-to-float conversion, use a temporary
floating type larger than F if possible, since this avoids
rounding problems that are worst when U is just greater than
the maximum signed integer of the same size.

From-SVN: r3778
1993-03-18 21:28:43 +00:00
Richard Stallman
0cdd3dddae (output_file): New static var.
(main): Set output_file.
(my_exit): Delete output_file on failure.

From-SVN: r3777
1993-03-18 21:17:20 +00:00
Doug Evans
461beb1055 * (assign_parms): Minor cleanup.
From-SVN: r3776
1993-03-18 20:27:21 +00:00