Jim Wilson [Tue, 23 Mar 1993 19:35:31 +0000 (11:35 -0800)]
(DEFAULT_PCC_STRUCT_RETURN): Define to 0.
From-SVN: r3856
Jim Wilson [Tue, 23 Mar 1993 19:32:21 +0000 (11:32 -0800)]
(RETURN_IN_MEMORY): Update comment.
From-SVN: r3855
Jim Wilson [Tue, 23 Mar 1993 19:31:53 +0000 (11:31 -0800)]
(RETURN_IN_MEMORY): Delete struct and union references.
From-SVN: r3854
Tom Wood [Tue, 23 Mar 1993 15:10:07 +0000 (15:10 +0000)]
(untyped_call pattern): Fix typo.
From-SVN: r3853
Tom Wood [Tue, 23 Mar 1993 13:57:14 +0000 (13:57 +0000)]
Move misapplied patch
From-SVN: r3852
Richard Kenner [Tue, 23 Mar 1993 13:35:37 +0000 (08:35 -0500)]
(prepare_call_address): Put decl back.
From-SVN: r3851
Richard Kenner [Tue, 23 Mar 1993 13:35:15 +0000 (08:35 -0500)]
(prepare_call_address): Again not static.
From-SVN: r3850
Richard Kenner [Tue, 23 Mar 1993 13:10:05 +0000 (08:10 -0500)]
Don't include gvarargs.h.
(emit_library_call, emit_library_call_value): Delete from here.
From-SVN: r3849
Richard Kenner [Tue, 23 Mar 1993 13:09:36 +0000 (08:09 -0500)]
Include gvarargs.h.
Add prototypes to forward declarations and declare static functions.
(prepare_call_address, emit_call_1): Now static.
(emit_library_call, emit_library_call_value): Move to here.
From-SVN: r3848
Richard Kenner [Tue, 23 Mar 1993 13:09:00 +0000 (08:09 -0500)]
(expr.o): Doesn't include gvarargs.h.
(calls.o): Now includes gvarargs.h.
From-SVN: r3847
Richard Kenner [Tue, 23 Mar 1993 13:08:24 +0000 (08:08 -0500)]
Don't declare fns that use "tree" if tree.h not included.
(prepare_call_address, emit_call_1): Remove decls.
(promoted_input_arg): Add prototype.
(fix_lexical_addr): Remove duplicate decl.
(copy_function_value, expand_stmt_expr): Delete; no such functions.
From-SVN: r3846
Tom Wood [Tue, 23 Mar 1993 12:55:43 +0000 (12:55 +0000)]
(expand_builtin...
(expand_builtin, BUILT_IN_SAVEREGS): Use these to put the
code at the start of the function, even when inside a sequence.
(apply_args_value): New variable.
(init_expr, save_expr_status, restore_expr_status): Initialize,
save, and restore apply_args_value.
(expand_builtin): Implement new built-in functions.
(apply_args_mode, apply_result_mode): New variables.
(apply_args_size, apply_result_size, result_vector,
expand_builtin_apply_args, expand_builtin_apply,
expand_builtin_return): New functions.
(INCOMING_REGNO, OUTGOING_REGNO): Supply default definitions.
From-SVN: r3845
Tom Wood [Tue, 23 Mar 1993 12:54:30 +0000 (12:54 +0000)]
(struct function): Add apply_args_value field.
From-SVN: r3844
Tom Wood [Tue, 23 Mar 1993 12:53:46 +0000 (12:53 +0000)]
*** empty log message ***
From-SVN: r3843
Tom Wood [Tue, 23 Mar 1993 12:53:17 +0000 (12:53 +0000)]
(enum built_in_function): Add BUILT_IN_APPLY_ARGS,
BUILT_IN_APPLY, and BUILT_IN_RETURN.
From-SVN: r3842
Tom Wood [Tue, 23 Mar 1993 12:52:39 +0000 (12:52 +0000)]
(push_topmost_sequence, pop_topmost_sequence): New
functions.
From-SVN: r3841
Tom Wood [Tue, 23 Mar 1993 12:51:52 +0000 (12:51 +0000)]
(untyped_call): New pattern.
From-SVN: r3840
Tom Wood [Tue, 23 Mar 1993 12:50:44 +0000 (12:50 +0000)]
(untyped_call, blockage): New patterns.
From-SVN: r3839
Tom Wood [Tue, 23 Mar 1993 12:49:33 +0000 (12:49 +0000)]
(NEEDS_UNTYPED_CALL): Define.
From-SVN: r3838
Tom Wood [Tue, 23 Mar 1993 12:48:46 +0000 (12:48 +0000)]
(untyped_call, untyped_return): New patterns.
From-SVN: r3837
Tom Wood [Tue, 23 Mar 1993 12:48:05 +0000 (12:48 +0000)]
(APPLY_RESULT_SIZE): Define.
From-SVN: r3836
Tom Wood [Tue, 23 Mar 1993 12:46:53 +0000 (12:46 +0000)]
(INCOMING_REGNO, OUTGOING_REGNO): Define.
From-SVN: r3835
Richard Kenner [Tue, 23 Mar 1993 11:39:59 +0000 (06:39 -0500)]
(dbxout_type): Use int_size_in_bytes instead of size_in_bytes for
consistency with other code.
From-SVN: r3834
Richard Kenner [Tue, 23 Mar 1993 11:38:15 +0000 (06:38 -0500)]
(expand_call): Use expr_size instead of doing it ourself.
From-SVN: r3833
Ian Lance Taylor [Mon, 22 Mar 1993 23:30:13 +0000 (23:30 +0000)]
Fix #endif foo; don't alter sh options; clean up all DONE files
From-SVN: r3832
Doug Evans [Mon, 22 Mar 1993 22:02:43 +0000 (22:02 +0000)]
* (MUST_PASS_IN_STACK): Make machine parameter.
From-SVN: r3831
James Van Artsdalen [Mon, 22 Mar 1993 07:47:01 +0000 (07:47 +0000)]
(movsf,movdf): Use an input reload for MEM-MEM moves.
(extendsfdf2): Don't allow GENERAL_REGS in any operand.
(truncdfsf2): Allocate a stack temp in expander.
Use that in the output function.
(fix_truncMN2,fixuns_truncMN2): Likewise.
Allocate scratch reg from Q_REGS.
From-SVN: r3830
James Van Artsdalen [Mon, 22 Mar 1993 07:44:32 +0000 (07:44 +0000)]
(output_fix_trunc): Use MEMs in insn as stack temps.
No need to allocate & deallocate stack space on the fly.
(clear_386_stack_locals): New function.
(assign_386_stack_local): New function.
From-SVN: r3829
James Van Artsdalen [Mon, 22 Mar 1993 07:42:38 +0000 (07:42 +0000)]
(PREFERRED_RELOAD_CLASS): Only narrow MODE_FLOAT reloads from ALL_REGS to GENERAL_REGS.
(PREFERRED_RELOAD_CLASS): Only narrow MODE_FLOAT reloads from ALL_REGS to
GENERAL_REGS.
(PREFERRED_OUTPUT_RELOAD_CLASS): Deleted.
(INIT_EXPANDERS): New macro.
From-SVN: r3828
James Van Artsdalen [Mon, 22 Mar 1993 07:41:33 +0000 (07:41 +0000)]
(init_emit): Use INIT_EXPANDERS.
From-SVN: r3827
James Van Artsdalen [Mon, 22 Mar 1993 07:40:46 +0000 (07:40 +0000)]
(eliminate_regs): Eliminate regs within a CLOBBER.
From-SVN: r3826
Richard Stallman [Mon, 22 Mar 1993 07:11:36 +0000 (07:11 +0000)]
Comment change.
From-SVN: r3825
Richard Stallman [Mon, 22 Mar 1993 07:04:44 +0000 (07:04 +0000)]
(incomplete_decl_finalize_hook): New variable.
(compile_file): Call incomplete_decl_finalize_hook.
From-SVN: r3824
Richard Stallman [Mon, 22 Mar 1993 07:04:18 +0000 (07:04 +0000)]
(init_decl_processing): Set that var.
(finish_incomplete_decl): New function.
(complete_array_type): Use 0 as default maxindex.
From-SVN: r3823
Richard Stallman [Mon, 22 Mar 1993 07:03:45 +0000 (07:03 +0000)]
(incomplete_decl_finalize_hook): Declared.
From-SVN: r3822
Richard Stallman [Mon, 22 Mar 1993 05:34:40 +0000 (05:34 +0000)]
Add __cimag, __cimag__, __creal, __creal__.
From-SVN: r3821
Richard Stallman [Mon, 22 Mar 1993 05:32:42 +0000 (05:32 +0000)]
(initializer_constant_valid_p): Handle COMPLEX_CST.
From-SVN: r3820
Richard Stallman [Mon, 22 Mar 1993 04:07:33 +0000 (04:07 +0000)]
Back out previous change.
From-SVN: r3819
Richard Stallman [Mon, 22 Mar 1993 02:03:01 +0000 (02:03 +0000)]
(collect_expansion): Don't make # special in argless macro.
From-SVN: r3818
Richard Stallman [Sun, 21 Mar 1993 22:35:49 +0000 (22:35 +0000)]
(mulsidi3, umulsidi3): Add missing sign_extend
and zero_extend so all operands have them.
From-SVN: r3817
Michael Meissner [Sun, 21 Mar 1993 22:11:23 +0000 (22:11 +0000)]
Fix dependency.
From-SVN: r3816
Michael Meissner [Sun, 21 Mar 1993 21:29:57 +0000 (21:29 +0000)]
Fix recent change for prototypes.
From-SVN: r3815
Richard Stallman [Sun, 21 Mar 1993 21:28:23 +0000 (21:28 +0000)]
(copy_rtx_and_substitute, case USE):
Don't remove a subreg if ORIG had one.
From-SVN: r3814
Richard Stallman [Sun, 21 Mar 1993 18:59:52 +0000 (18:59 +0000)]
When making tm.h from config/vax/vms.h, change
any #include "vax/*.h" directives to use native VMS file syntax.
From-SVN: r3813
Richard Stallman [Sun, 21 Mar 1993 18:59:13 +0000 (18:59 +0000)]
[VAXC]: Work around stdio.h's FILE_TYPE.
From-SVN: r3812
Richard Stallman [Sun, 21 Mar 1993 18:58:22 +0000 (18:58 +0000)]
#include "obstack.h".
From-SVN: r3811
Jeff Law [Sun, 21 Mar 1993 03:45:52 +0000 (20:45 -0700)]
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
Jeff Law [Sun, 21 Mar 1993 03:44:15 +0000 (20:44 -0700)]
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
Richard Kenner [Sun, 21 Mar 1993 01:51:52 +0000 (20:51 -0500)]
(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
Richard Kenner [Sun, 21 Mar 1993 01:49:22 +0000 (20:49 -0500)]
(fold, case PLUS_EXPR): Don't associate apart a constant operand.
From-SVN: r3807
Michael Meissner [Sat, 20 Mar 1993 23:54:00 +0000 (23:54 +0000)]
Look at TARGET_CPU_DEFAULT to enable the use of gas.
From-SVN: r3806
Jeff Law [Sat, 20 Mar 1993 21:38:10 +0000 (14:38 -0700)]
* pa.h (singlemove_string): Declare.
From-SVN: r3805
Jeff Law [Sat, 20 Mar 1993 20:29:46 +0000 (13:29 -0700)]
Initial revision
From-SVN: r3804
Jeff Law [Sat, 20 Mar 1993 19:54:15 +0000 (12:54 -0700)]
* pa.md (conditional branch patterns): Clean up constraints.
From-SVN: r3803
Jeff Law [Sat, 20 Mar 1993 19:51:51 +0000 (12:51 -0700)]
* pa.md (shadd reload patterns): Clean up output template.
From-SVN: r3802
Torbjorn Granlund [Sat, 20 Mar 1993 16:22:37 +0000 (16:22 +0000)]
(init_expmed): Fix typo in last change.
From-SVN: r3801
Richard Kenner [Sat, 20 Mar 1993 12:11:32 +0000 (07:11 -0500)]
(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
Richard Stallman [Sat, 20 Mar 1993 09:06:17 +0000 (09:06 +0000)]
(print_node): Print the chain of a STRING_CST.
From-SVN: r3799
Richard Stallman [Sat, 20 Mar 1993 09:05:49 +0000 (09:05 +0000)]
(yylex): Copy the string value we get from __FUNCTION__.
From-SVN: r3798
Richard Stallman [Sat, 20 Mar 1993 06:54:26 +0000 (06:54 +0000)]
(movqi): In address reg case, if d0
appears in the address, use d1 instead as intermediate reg.
From-SVN: r3797
Jim Wilson [Sat, 20 Mar 1993 02:42:31 +0000 (18:42 -0800)]
Correct partly nested comment.
From-SVN: r3796
Jim Wilson [Sat, 20 Mar 1993 02:17:48 +0000 (18:17 -0800)]
(cse_process_notes): Replace NULL_RTX with just zero.
From-SVN: r3795
Jim Wilson [Sat, 20 Mar 1993 02:17:20 +0000 (18:17 -0800)]
Add prototypes.
From-SVN: r3794
Jim Wilson [Sat, 20 Mar 1993 02:14:45 +0000 (18:14 -0800)]
Add prototypes.h
From-SVN: r3793
Jim Wilson [Sat, 20 Mar 1993 02:13:34 +0000 (18:13 -0800)]
(gen_attr): Generate prototypes in header file.
From-SVN: r3792
Jim Wilson [Sat, 20 Mar 1993 02:06:21 +0000 (18:06 -0800)]
(DEBUG_SYMS_TEXT): Define.
From-SVN: r3791
Jim Wilson [Sat, 20 Mar 1993 02:05:32 +0000 (18:05 -0800)]
(xcoffout_declare_function): Call dbxout_source_file
before emitting .function psuedo-op.
From-SVN: r3790
Michael Meissner [Fri, 19 Mar 1993 22:40:13 +0000 (22:40 +0000)]
If gas do not run mips-tfile.
From-SVN: r3789
Richard Kenner [Fri, 19 Mar 1993 22:30:21 +0000 (17:30 -0500)]
(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
Richard Kenner [Fri, 19 Mar 1993 11:29:40 +0000 (06:29 -0500)]
(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
Richard Kenner [Fri, 19 Mar 1993 11:27:23 +0000 (06:27 -0500)]
(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
Richard Stallman [Fri, 19 Mar 1993 08:44:43 +0000 (08:44 +0000)]
(digest_init): Typo in last change.
From-SVN: r3785
Richard Stallman [Fri, 19 Mar 1993 08:42:28 +0000 (08:42 +0000)]
(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
Richard Stallman [Fri, 19 Mar 1993 06:38:23 +0000 (06:38 +0000)]
(emit_call_1): Don't defer pops in const call.
From-SVN: r3783
Jim Wilson [Thu, 18 Mar 1993 22:01:56 +0000 (14:01 -0800)]
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
Richard Stallman [Thu, 18 Mar 1993 21:34:51 +0000 (21:34 +0000)]
(expand_expr): Don't ensure ref to a volatile value if it is a function.
From-SVN: r3781
Richard Stallman [Thu, 18 Mar 1993 21:32:24 +0000 (21:32 +0000)]
(REALPART, IMAGPART): New token types.
(unary_expr): Handle REALPART, IMAGPART.
From-SVN: r3780
Richard Stallman [Thu, 18 Mar 1993 21:31:09 +0000 (21:31 +0000)]
(digest_init): Handle COMPLEX_TYPE like other scalars.
From-SVN: r3779
Paul Eggert [Thu, 18 Mar 1993 21:28:43 +0000 (21:28 +0000)]
(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
Richard Stallman [Thu, 18 Mar 1993 21:17:20 +0000 (21:17 +0000)]
(output_file): New static var.
(main): Set output_file.
(my_exit): Delete output_file on failure.
From-SVN: r3777
Doug Evans [Thu, 18 Mar 1993 20:27:21 +0000 (20:27 +0000)]
* (assign_parms): Minor cleanup.
From-SVN: r3776
Doug Evans [Thu, 18 Mar 1993 17:38:41 +0000 (17:38 +0000)]
* (expand_call): Fix bug (don't clobber bitpos).
From-SVN: r3775
Richard Stallman [Thu, 18 Mar 1993 05:09:00 +0000 (05:09 +0000)]
(PCC_STATIC_STRUCT_RETURN): Add #undef.
From-SVN: r3774
Michael Meissner [Wed, 17 Mar 1993 22:45:12 +0000 (22:45 +0000)]
Add -Wf,-XNh1500 to OLDCC.
From-SVN: r3773
Jeff Law [Wed, 17 Mar 1993 22:26:54 +0000 (15:26 -0700)]
pa.md (pre_ldwm, pre_stwm): Name these patterns to make generating them easier.
* pa.md (pre_ldwm, pre_stwm): Name these patterns to make
generating them easier.
*post_ldwm, post_stwm): New patterns.
(add_high_const): New pattern.
(return): New pattern.
From-SVN: r3772
Jeff Law [Wed, 17 Mar 1993 22:26:25 +0000 (15:26 -0700)]
pa.c (post_cint_operand): New function.
* pa.c (post_cint_operand): New function.
(hppa-can_use_return_insn_p): Newfunction.
From-SVN: r3771
Michael Meissner [Wed, 17 Mar 1993 22:22:35 +0000 (22:22 +0000)]
Add -mlong-calls.
From-SVN: r3770
Jeff Law [Wed, 17 Mar 1993 21:15:15 +0000 (14:15 -0700)]
pa.h (IS_RELOADING_PSEUDO_P): New subroutine for EXTRA_CONSTRAINT.
* pa.h (IS_RELOADING_PSEUDO_P): New subroutine for EXTRA_CONSTRAINT.
(EXTRA_CONSTRAINT): Use IS_RELOADING_PSEUDO_P. Accept any MEM for
`Q' constraint during hte reload pass.
From-SVN: r3769
Jeff Law [Wed, 17 Mar 1993 21:02:18 +0000 (14:02 -0700)]
pa.md (movqi, [...]): Remove support for GR<->FP copies.
* pa.md (movqi, movhi, movsi, movdi, movsf, movdf): Remove support
for GR<->FP copies.
(fix_truncsfsi2, fix_truncdfsi2): Likewise.
From-SVN: r3768
Jeff Law [Wed, 17 Mar 1993 21:01:55 +0000 (14:01 -0700)]
pa.c (output_fp_move_double): Remove code to support GR<->FP copies.
* pa.c (output_fp_move_double): Remove code to support GR<->FP
copies.
From-SVN: r3767
Jeff Law [Wed, 17 Mar 1993 21:01:25 +0000 (14:01 -0700)]
pa.h (SECONDARY_MEMORY_NEEDED): Define.
* pa.h (SECONDARY_MEMORY_NEEDED): Define.
(SECONDARY_MEMORY_NEEDED_RTX): Define.
From-SVN: r3766
Torbjorn Granlund [Wed, 17 Mar 1993 20:57:22 +0000 (20:57 +0000)]
(pc_or_label_operand): New predicate.
From-SVN: r3765
Torbjorn Granlund [Wed, 17 Mar 1993 20:56:40 +0000 (20:56 +0000)]
(branch-on-bit): New patterns.
From-SVN: r3764
Richard Stallman [Wed, 17 Mar 1993 19:59:45 +0000 (19:59 +0000)]
(STRUCT_VALUE): Defined.
(STRUCT_VALUE_REGNUM): Add #undef.
From-SVN: r3763
Richard Kenner [Tue, 16 Mar 1993 22:41:57 +0000 (17:41 -0500)]
(FIXED_REGNO_P): Remove previous change; all callers but one already check.
(CHEAP_REG): Only call FIXED_REGNO_P for hard regs.
(fold_rtx): Clarify comments.
From-SVN: r3762
Jim Wilson [Tue, 16 Mar 1993 20:15:00 +0000 (12:15 -0800)]
(CFLAGS, LIBGCC2_CFLAGS): Delete overrides and comment why they were wrong.
From-SVN: r3761
Jim Wilson [Tue, 16 Mar 1993 20:11:12 +0000 (12:11 -0800)]
(grokdeclarator, ARRARY_REF): If exern, then end
temporary allocation before building type.
From-SVN: r3760
Jim Wilson [Tue, 16 Mar 1993 19:54:08 +0000 (11:54 -0800)]
(SECONDARY_MEMORY_NEEDED_RTX): Define.
From-SVN: r3759
Jim Wilson [Tue, 16 Mar 1993 19:52:45 +0000 (11:52 -0800)]
(get_secondary_mem): Use macro SECONDARY_MEMORY_NEEDED_RTX.
From-SVN: r3758
James Van Artsdalen [Tue, 16 Mar 1993 09:54:12 +0000 (09:54 +0000)]
(FIXED_REGNO_P): Pseudos can't be fixed regs.
From-SVN: r3757