Commit Graph

11546 Commits

Author SHA1 Message Date
Richard Kenner 4ee74e29af (expand_call): In inlining case, if BEFORE_CALLS is zero, start
looking at first insn.

From-SVN: r11699
1996-04-11 09:04:53 -04:00
Richard Kenner 43198be7c4 (preexpand_calls, case CALL_EXPR): Rework to properly avoid expanding
functions returning variable size objects.

From-SVN: r11698
1996-04-11 08:24:56 -04:00
Richard Kenner d80db03db2 (expand_inline_function): When comparing types of formal and actual,
use TYPE_MAIN_VARIANT.

From-SVN: r11697
1996-04-11 07:24:55 -04:00
Jeff Law 82fa9209b7 h8300.c (dosize): On the h8300h, do 4 byte adjustments using adds and subs.
* h8300.c (dosize): On the h8300h, do 4 byte adjustments
        using adds and subs.
        * h8300.h (LONG_LONG_TYPE_SIZE): Always make this 32bits.
        Reverses change from Apr 2, 1996.

From-SVN: r11696
1996-04-10 22:51:22 -06:00
Doug Evans b5ccf84723 sparc.h (ASM_OUTPUT_INTERNAL_LABELREF): Delete.
* sparc/sparc.h (ASM_OUTPUT_INTERNAL_LABELREF): Delete.
	(FUNCTION_PROFILER): Use ASM_GENERATE_INTERNAL_LABEL instead.

From-SVN: r11695
1996-04-11 01:12:55 +00:00
Doug Evans 1fbf41ca12 * sparc/splet.h (SUBTARGET_SWITCHES): Recognize -mbroken-saverestore.
From-SVN: r11694
1996-04-10 22:39:25 +00:00
Doug Evans 3f79ef9b64 * sparc/sparc.md (attr cpu): 90c701 renamed to tsc701.
From-SVN: r11693
1996-04-10 22:38:36 +00:00
Doug Evans 9b7c06d217 sparc.h (CPP_SPEC): Handle -mcpu={sparclet,tsc701}.
* sparc/sparc.h (CPP_SPEC): Handle -mcpu={sparclet,tsc701}.
	(ASM_SPEC): Likewise.
	({MASK,TARGET}_BROKEN_SAVERESTORE): Define.
	(enum processor_type): 90C701 renamed to TSC701.

From-SVN: r11692
1996-04-10 22:37:50 +00:00
Doug Evans 3592ea0d90 sparc.c (sparc_override_options): 90c701 renamed to tsc701.
* sparc/sparc.c (sparc_override_options): 90c701 renamed to tsc701.
	(eligible_for_epilogue_delay_slot): Don't allow anything if
	-mbroken-saverestore.
	(output_function_prologue): Only use trivial save's if
	-mbroken-saverestore.

From-SVN: r11691
1996-04-10 22:37:08 +00:00
Stan Cox 44ae13fb02 Support EXTRA_SPECS
From-SVN: r11690
1996-04-10 21:52:00 +00:00
Richard Kenner 5717cc73de (parse_number): Don't reject long long constants unless pedantic.
From-SVN: r11689
1996-04-10 17:22:35 -04:00
Richard Kenner f250a0bc1c (e64toe): Properly distinguish between NaN and infinity bit patterns for real-words-big-endian targets.
(e64toe): Properly distinguish between NaN and infinity bit patterns
for real-words-big-endian targets.
(endian): Add two explicit casts.
(e64toe): Support ARM extended precision fp format.  Check negative
infinities properly for NaNs.
(toe64): Support ARM extended precision fp format.

From-SVN: r11688
1996-04-10 17:19:42 -04:00
Doug Evans 6e9e65c67a (ASM_OUTPUT_ALIGN): Define and use .balign.
From-SVN: r11687
1996-04-09 16:53:18 +00:00
Doug Evans d61ba4f4e1 (fp_zero_operand): Exclude -0.0.
From-SVN: r11686
1996-04-09 16:48:21 +00:00
Richard Kenner 0b545b52d0 Fix typo in last change.
From-SVN: r11685
1996-04-09 07:50:58 -04:00
Richard Kenner 914981cccf (substitute_in_type): Delete declaration.
From-SVN: r11684
1996-04-09 07:11:16 -04:00
Richard Kenner 9b594acf0e (substitute_in_expr): Don't return new expression if nothing changed.
(substitute_in_type): Deleted, not used.

From-SVN: r11683
1996-04-09 07:10:49 -04:00
Jeff Law b24884cd27 flow.c (find_auto_inc): Also make sure there aren't any sets of the incremented register between the...
* flow.c (find_auto_inc): Also make sure there aren't
        any sets of the incremented register between the memory
        reference and increment insn.

From-SVN: r11682
1996-04-08 14:31:32 -06:00
Michael Meissner 3066b88a9f Add Solaris on PowerPC support
From-SVN: r11677
1996-04-08 20:19:10 +00:00
Michael Meissner 766a866c11 Add -fpic/-fPIC support
From-SVN: r11676
1996-04-08 19:48:29 +00:00
Richard Kenner 2038dc1298 Initial revision
From-SVN: r11675
1996-04-08 15:40:45 -04:00
Richard Kenner cd4aafd57b (finish_function): Always warn if main doesn't return int.
From-SVN: r11674
1996-04-08 14:44:21 -04:00
Michael Meissner 5ebfb2bafe Fix mains args in eabi; use reg_names to print out registers
From-SVN: r11673
1996-04-08 17:05:33 +00:00
Mike Stump cdf5b8851c 86th Cygnus<->FSF quick merge
From-SVN: r11672
1996-04-05 18:07:00 +00:00
Jeff Law 97c5ec1d11 h8300.c (h8300_valid_machine_decl_attribute): Use underscores, not dashes in attributes.
* h8300/h8300.c (h8300_valid_machine_decl_attribute): Use
        underscores, not dashes in attributes.
        (h8300_funcvec_function_p): Corresponding changes.
        (h8300_interrupt_function_p): Likewise.

From-SVN: r11671
1996-04-04 22:58:46 -07:00
Jeff Law a5bbd4b8dc pa.h (INIT_CUMULATIVE_INCOMING_ARGS): Initialize "indirect" field to zero.
* pa/pa.h (INIT_CUMULATIVE_INCOMING_ARGS): Initialize "indirect"
        field to zero.

From-SVN: r11670
1996-04-04 22:42:17 -07:00
Jim Wilson a8d762e1d2 (GIV_SORT_CRITERION): Define.
From-SVN: r11669
1996-04-04 12:12:59 -08:00
Jim Wilson 7027f90aba (combine_givs): Use new macro GIV_SORT_CRITERION.
New variable giv_array.  Loop over giv_array instead of following
next_iv links.
(giv_sort): New function.
K

From-SVN: r11668
1996-04-04 12:01:59 -08:00
Jim Wilson bdc49177fd (push_init_level): When output alignment for structure
field, add check to verify it is the next field to be output.

From-SVN: r11667
1996-04-04 09:46:09 -08:00
Richard Kenner 489c81a38f Inlcude thr.h, not thread.h.
From-SVN: r11666
1996-04-04 12:35:55 -05:00
Richard Kenner 5f79ec0ec0 Include thr.h, not thread.h.
From-SVN: r11665
1996-04-04 12:35:00 -05:00
Richard Kenner 7fb04be124 Rename thread-* to thr-*.
From-SVN: r11664
1996-04-04 12:26:03 -05:00
Richard Kenner cd9255f6d3 Rename thread* to thr*.
From-SVN: r11663
1996-04-04 12:24:18 -05:00
Richard Kenner ddc4b81a22 Don't include stamp.h for Linux.
From-SVN: r11662
1996-04-04 12:19:09 -05:00
Richard Kenner dd9f586e6d (ashldi3_const_int): Don't recognize if won't match constraint of
operand 2.

From-SVN: r11661
1996-04-04 12:16:53 -05:00
Michael Meissner af4eec175a Set EXECUTABLE_SUFFIX to .exe.
From-SVN: r11660
1996-04-04 17:00:54 +00:00
Michael Meissner b9b7c94c41 Add support for EXTENDED_FLOAT_STUBS
From-SVN: r11659
1996-04-04 16:45:26 +00:00
Jim Wilson 22745c7e7a (emit_push_insn): Clobber register only if it is non-zero.
From-SVN: r11658
1996-04-03 14:30:07 -08:00
Doug Evans d7083c81f6 (CC_NO_OVERFLOW): Add comment clarifying usage.
From-SVN: r11657
1996-04-03 20:56:14 +00:00
Jeff Law 2accfbc7bb h8300.h (h8300_funcvec_function_p): Declaration moved here.
* h8300.h (h8300_funcvec_function_p): Declaration moved here.
        * h8300.c (h8300_funcvec_function_p): Declaration removed
        from here.
        * h8300.md (tstqi): Tweak to work like other tstXX patterns.
        (cmphi): Turn into a define_expand.  Add two anonymous
        matterns to match the output of the cmphi expander.
        (cmpsi): Accept constants as the second input operand.

From-SVN: r11656
1996-04-03 09:31:01 -07:00
Jeff Law 20c359e43d h8300.md (movqi_internal): Remove useless alternative(s).
* h8300.md (movqi_internal): Remove useless alternative(s).  Fix
        lengths and simplify by reordering remaining alternatives.
        (movestrictqi, movhi_internal, movstricthi): Likewise.
        (movsi_h8300h, movsf_h8300h): Likewise.

From-SVN: r11655
1996-04-02 19:36:54 -07:00
Mike Stump c91a56d266 86th Cygnus<->FSF merge
From-SVN: r11654
1996-04-02 21:44:27 +00:00
Jeff Law dd07092ebe h8300.c (extra_pop): Remove unused variable.
* h8300/h8300.c (extra_pop): Remove unused variable.
        (current_function_anonymous_args): Likewise.
        (function_prologue): Remove incorrect varargs/stdarg
        related code.
        (function_epilogue): Likewise.
        (function_arg): Never pass unnamed arguments in registers.
        * h8300.h (LONG_LONG_TYPE_SIZE): Use 64bits when ints are
        32bits.
        (SETUP_INCOMING_VARARGS): Remove definition.

From-SVN: r11653
1996-04-02 11:53:54 -07:00
Ian Lance Taylor cf0a001cb1 Fix signal prototype on SunOS to avoid C++ pedantic error
From-SVN: r11652
1996-04-01 22:00:44 +00:00
Richard Kenner e8621b3c1c (get_inner_reference): When finding mode to access bitfield that ends up properly aligned...
(get_inner_reference): When finding mode to access bitfield that ends
up properly aligned, use mode class of its type unless type's mode was
BLKmode.

From-SVN: r11651
1996-04-01 16:16:06 -05:00
Jeff Law f5b65a5669 h8300.c (interrupt_handler): Renamed from pragma_interrupt.
* h8300.c (interrupt_handler): Renamed from pragma_interrupt.
        All references changed.
        (function_prologue): Set interrupt_handler if the current
        function has the "interrrupt-handler" attribute.
        (small_call_insn_operand): New function.
        (h8300_interrrupt_function_p): New function.
        (h8300_funcvec_function_p): New function.
        (h8300_valid_machine_decl_attribute): New function.
        * h8300.h (VALID_MACHINE_DECL_ATTRIBUTE): Define.
        * h8300.md (call insns): Handle calls through the
        function vector.  Indirect calls and calls through
        the function vector have a length of two bytes.

From-SVN: r11650
1996-04-01 11:48:52 -07:00
Jeff Law eecb6f50c2 calls.c (expand_call): Remove current_call_is_indirect nonsense.
* calls.c (expand_call): Remove current_call_is_indirect nonsense.
        Add additional argument to INIT_CUMULATIVE_ARGS.
        (emit_library_call): Likewise.
        (emit_library_call_value): Likewise.
        * expr.c (expand_builtin): Likewise.
        * function.c (assign_parms): Likewise.
        * config/pa/pa.h (hppa_args): New field "indirect".
        (INIT_CUMULATIVE_ARGS): Initialize "indirect" field.
        (FUNCTION_ARG): Check "indirect" field, rather than
        "current_call_is_indirect".
        * All other backends updated with new argument to
        INIT_CUMULATIVE_ARGS

From-SVN: r11649
1996-03-31 23:02:12 -07:00
Richard Kenner 4cf8614f1e (schedule_block): CALL_INSNs don't affect fixed regs.
From-SVN: r11648
1996-03-31 17:59:20 -05:00
Richard Kenner 5bb3d1dded (layout_decl): Don't make a bitfield an integral mode if the mode of
the field type is not MODE_INT.

From-SVN: r11647
1996-03-31 06:18:58 -05:00
Richard Kenner e4329280ac (propagate_block): CALL_INSNs don't kill fixed regs.
From-SVN: r11646
1996-03-31 05:10:01 -05:00