Commit Graph

11506 Commits

Author SHA1 Message Date
Jeff Law
5ae5999cfe h8300.c (const_costs): -4 and 4 are cheap on the h8300h.
* h8300/h8300.c (const_costs): -4 and 4 are cheap on the h8300h.
        (notice_update_cc): Remove references to "value2" field.

From-SVN: r11709
1996-04-12 17:49:19 -06:00
Jeff Law
f8f26adcc2 h8300.c (dosize): Remove unused "fped" argument.
* h8300/h8300.c (dosize): Remove unused "fped" argument.  All callers
        changed.  Handle add/sub of 5-8 bytes efficiently on the h8300h.

From-SVN: r11708
1996-04-12 17:23:05 -06:00
Jeff Law
15dc331ee6 h8300.c (print_operand): Handle new 'R' case for accessing the 8-bit area.
* h8300/h8300.c (print_operand): Handle new 'R' case for accessing
        the 8-bit area.  Make code for 'Y' fall into code for 'R' when
        operand is not a register.  Update some comments.
        (h8300_tiny_data_p): New function.
        (h8300_valid_machine_decl_attribute): Handle "tiny_data" attribute.
        * h8300/h8300.h (OK_FOR_U): Handle memory references into the
        8-bit area.
        (ENCODE_SECTION_INFO): Mark SYMBOL_REFs which refer to the 8-bit
        area.
        * h8300/h8300.md (many patterns): Use 'R' rather than 'X' for
        operands that may be memory accesses into the 8-bit area.
        (btst pattern): New pattern to set the cc0 (zbit) based on
        data in the 8-bit area.

        * h8300/h8300.md (one_cmplsi2): Fix length computation for h8300h.

From-SVN: r11707
1996-04-12 16:21:28 -06:00
Doug Evans
7f6ae52483 aout.h (ASM_GENERATE_INTERNAL_LABEL): Use LOCAL_LABEL_PREFIX.
* arm/aout.h (ASM_GENERATE_INTERNAL_LABEL): Use LOCAL_LABEL_PREFIX.
	(ASM_OUTPUT_ADDR_{VEC,DIFF_ELT}): Likewise.

From-SVN: r11706
1996-04-12 18:47:39 +00:00
Doug Evans
428a927446 (CPP_PREDEFINES): Define __semi__ instead of semi.
From-SVN: r11705
1996-04-12 18:41:09 +00:00
Doug Evans
310324b8a2 arm.md (*ldmsi,*stmsi): Use (mem (match_operand ...)) to avoid using indirect_operand (reload problems).
* arm/arm.md (*ldmsi,*stmsi): Use (mem (match_operand ...))
	to avoid using indirect_operand (reload problems).

From-SVN: r11704
1996-04-12 18:34:14 +00:00
Jason Merrill
7f6c7be1a0 (dbxout_typedefs): Don't emit incomplete types yet.
(dbxout_symbol): Use DECL_ARTIFICIAL to recognize C++ implicit
        typedefs.

From-SVN: r11703
1996-04-12 16:42:46 +00:00
Doug Evans
ae8ff0096b t-winnt (winnt.o): Rewrite based on .c.o rule.
* i386/t-winnt (winnt.o): Rewrite based on .c.o rule.
	(oldnames.o,spawnv.o): Add rules for.

From-SVN: r11702
1996-04-12 01:56:09 +00:00
Jeff Law
2570cc939a lib1funcs.asm (modnorm): New function(s).
* lib1funcs.asm (modnorm): New function(s).  Like divnorm,
        but gets the sign bit right for modulo operations.
        (__modhi3, modsi3): Use modnorm.

From-SVN: r11701
1996-04-11 14:10:57 -06:00
Stan Cox
cea60f06c0 Minor EXTRA_SPECS fixes.
From-SVN: r11700
1996-04-11 17:00:35 +00:00
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