Richard Stallman [Thu, 25 Mar 1993 18:02:30 +0000 (18:02 +0000)]
Change __cimag__ to __imag__, __creal__ to __real__,
to void rejection by gperf.
From-SVN: r3877
Richard Stallman [Thu, 25 Mar 1993 16:38:16 +0000 (16:38 +0000)]
(USER_H): Add va-clipper.
From-SVN: r3876
Richard Kenner [Thu, 25 Mar 1993 12:01:09 +0000 (07:01 -0500)]
(store_one_arg): Fix typo in previous change.
From-SVN: r3875
Mike Stump [Thu, 25 Mar 1993 08:51:26 +0000 (08:51 +0000)]
Added front-end taggint to object files.
From-SVN: r3874
Richard Stallman [Thu, 25 Mar 1993 05:43:12 +0000 (05:43 +0000)]
(fixup_var_refs_insns): Don't delete an insn copying
var to itself, if it's the end of a libcall group.
From-SVN: r3873
Richard Stallman [Wed, 24 Mar 1993 22:49:55 +0000 (22:49 +0000)]
entered into RCS
From-SVN: r3872
Richard Stallman [Wed, 24 Mar 1993 22:44:55 +0000 (22:44 +0000)]
Default to clipper-intergraph if system is clix.
From-SVN: r3871
Richard Stallman [Wed, 24 Mar 1993 22:42:07 +0000 (22:42 +0000)]
(memory.h): Use proper ANSI syntax in `#endif __memory_h__'.
From-SVN: r3870
Richard Stallman [Wed, 24 Mar 1993 22:41:53 +0000 (22:41 +0000)]
Use va-clipper.h.
From-SVN: r3869
Richard Stallman [Wed, 24 Mar 1993 21:10:11 +0000 (21:10 +0000)]
(memory.h): Use proper ANSI syntax in `#endif __memory_h__'.
From-SVN: r3868
Jeff Law [Wed, 24 Mar 1993 17:54:06 +0000 (10:54 -0700)]
pa.c (shadd_operand): New function.
* pa.c (shadd_operand): New function.
(print_operand): Handle "%O" for shadd patterns.
From-SVN: r3867
Jeff Law [Wed, 24 Mar 1993 17:53:14 +0000 (10:53 -0700)]
pa.md (sh[123\add): Collapse into a single pattern.
* pa.md (sh[123\add): Collapse into a single pattern.
(sh[123]add for reload): Likewise.
* pa.c (shadd_operand): New function.
(print_operand): Handle "%O" for shadd patterns.
From-SVN: r3866
Richard Kenner [Wed, 24 Mar 1993 13:18:04 +0000 (08:18 -0500)]
Clean up whitespace.
From-SVN: r3865
Richard Kenner [Wed, 24 Mar 1993 13:03:22 +0000 (08:03 -0500)]
(EXTRA_SECTION_FUNCTIONS, ASM_DECLARE_FUNCTION_NAME): Don't output tab
before .csect pseudo-op.
From-SVN: r3864
Richard Kenner [Wed, 24 Mar 1993 01:20:32 +0000 (20:20 -0500)]
(store_one_arg): Use int_size_in_bytes and expr_size when appropriate
instead of size_in_bytes.
From-SVN: r3863
Richard Kenner [Wed, 24 Mar 1993 01:18:04 +0000 (20:18 -0500)]
record_reg_classes): When an alternative requires a match...
record_reg_classes): When an alternative requires a match, but we do
it with a copy into a register, that alternative wins.
From-SVN: r3862
Richard Kenner [Wed, 24 Mar 1993 01:16:17 +0000 (20:16 -0500)]
(CHEAP_REG): Add missing parens.
From-SVN: r3861
Jim Wilson [Tue, 23 Mar 1993 23:13:50 +0000 (15:13 -0800)]
(DEFAULT_PCC_STRUCT_RETURN): Add default definition of 1.
(flag_pcc_struct_return): Default to DEFAULT_PCC_STRUCT_RETURN.
(f_options): Add -freg-struct-return flag.
From-SVN: r3860
Richard Stallman [Tue, 23 Mar 1993 22:30:18 +0000 (22:30 +0000)]
(compile_file): If warning about a function
declared static but not defined, make the function extern.
From-SVN: r3859
Jim Wilson [Tue, 23 Mar 1993 19:41:54 +0000 (11:41 -0800)]
(DEFAULT_PCC_STRUCT_RETURN): Define to 0.
From-SVN: r3858
Jim Wilson [Tue, 23 Mar 1993 19:37:27 +0000 (11:37 -0800)]
Correct typo in comment from last change.
From-SVN: r3857
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