Commit Graph

11479 Commits

Author SHA1 Message Date
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
Torbjorn Granlund
dc1d615071 (expand_divmod, case TRUNC_DIV_EXPR): Move some code
to avoid shifting by a too large count.

From-SVN: r11645
1996-03-30 12:48:15 +00:00
Doug Evans
6f334f4405 sparc.h (FUNCTION_PROFILER): Save/restore %g2 around call to mcount.
* sparc/sparc.h (FUNCTION_PROFILER): Save/restore %g2 around call
	to mcount.

From-SVN: r11644
1996-03-29 20:45:31 +00:00
Stan Cox
0a78e86253 (notice_update_cc): Clear cc_status if it references a mem we are modifying.
From-SVN: r11643
1996-03-29 19:27:45 +00:00
Jeffrey A. Law
6752b7d4dd method.c (emit_thunk): Remove current_call_is_indirect nonsense.
* method.c (emit_thunk): Remove current_call_is_indirect nonsense.
        Add additional argument to INIT_CUMULATIVE_ARGS.

From-SVN: r11642
1996-03-29 07:42:00 -07:00
Jeff Law
2c7ee1a641 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.
	* cp/method.c (emit_thunk): 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: r11641
1996-03-29 07:37:11 -07:00
Doug Evans
c4d98c846d (aux): Delete another duplicate entry.
From-SVN: r11629
1996-03-29 01:49:55 +00:00
Doug Evans
9fcfb40af7 (aux): Delete duplicate entry.
From-SVN: r11628
1996-03-29 01:46:52 +00:00
Richard Kenner
8fed04e5c5 (summarize_insn): Fix three "off-by-one" bugs in loop bounds.
From-SVN: r11627
1996-03-28 18:45:41 -05:00
Jeff Law
da484a80ce * ginclude/va-h8300.h (va_arg): Don't assume sizeof (int) == 4.
From-SVN: r11626
1996-03-28 11:20:00 -07:00
Jeff Law
31d4f31fd7 pa.c (hppa_legitimize_address): Don't lose for (plus (plus (mult (A) (shadd_const)) (B)) (C)) if...
* pa.c (hppa_legitimize_address): Don't lose for
        (plus (plus (mult (A) (shadd_const)) (B)) (C)) if
        B + C isn't a valid address for indexing.
        (basereg_operand): Only accept base registers after
        cse has completed.  Don't accept the frame pointer if
        it's likely to be eliminated.
        * pa.md (unscaled indexing patterns): Add variants with
        basereg and index register reversed.
        (HImode and QImode loads): Add zero extended variants.

From-SVN: r11625
1996-03-28 10:14:41 -07:00
Richard Kenner
fdb5537fe0 (negate_rtx): Fix typo in previous change.
From-SVN: r11624
1996-03-27 07:45:08 -05:00
Jim Wilson
144a315026 (expand_call): In convert_to_mode call, use word_mode
not SImode.

From-SVN: r11623
1996-03-26 10:50:03 -08:00
Jeff Law
9c7be814e6 expr.c (emit_push_insn): When doing a partial push...
* expr.c (emit_push_insn): When doing a partial push, emit
        a CLOBBER so that flow doesn't think the entire register
        is live.

From-SVN: r11622
1996-03-26 08:45:03 -07:00
Richard Kenner
bed95fa1ac (summarize_insn, default case): Properly use format_ptr.
From-SVN: r11621
1996-03-26 10:00:38 -05:00
Richard Kenner
49d1cc6cda (fullword move): Call output_move_simode_const.
From-SVN: r11620
1996-03-26 09:50:53 -05:00
Richard Kenner
02ed0c07c5 (output_move_simode_const): New function.
(singlemove_string): Call it.

From-SVN: r11619
1996-03-26 09:49:56 -05:00
Richard Kenner
cab70741fe (output_move_simode_const): New extern declaration.
From-SVN: r11618
1996-03-26 09:43:18 -05:00