Commit Graph

6671 Commits

Author SHA1 Message Date
Richard Kenner
0b9ccabc3c (MASK_NO_SUM_IN_TOC, TARGET_NO_SUM_IN_TOC): New macros.
(MASK_MINIMAL_TOC): Change bit value.
(TARGET_SWITCHES): Add -mno-sum-in-toc; use -mfull-toc instead of
-mnormal-toc, other minor changes.

From-SVN: r6634
1994-02-26 18:01:08 -05:00
Richard Kenner
4fe73cc129 (rtx_renumbered_equal_p): Fix bug in comparing SUBREGs and REGs.
Two commutative operations are equal if the operands are in the opposite order.

From-SVN: r6633
1994-02-26 16:35:38 -05:00
Richard Kenner
63770d6ae3 (fixup_var_refs_insn): Delete CLOBBER of VAR.
(fixup_var_refs_insn): Delete CLOBBER of VAR.  If VAR is being
assigned into by a libcall sequence, remove the libcall notes.

From-SVN: r6632
1994-02-26 16:12:46 -05:00
Richard Kenner
9ff08f70f3 (count_reg_usage, case SET): If SRC has side-effects, count a usage of
DEST in it.

From-SVN: r6631
1994-02-26 16:11:04 -05:00
Richard Kenner
766f36c7cf (store_expr): In promoted TARGET case, if EXP is a volatile MEM and WANT_VALUE is nonzero, only reference the MEM once.
(store_expr): In promoted TARGET case, if EXP is a volatile MEM and
WANT_VALUE is nonzero, only reference the MEM once.
Return TARGET if it is a hard register; clean up return code.

From-SVN: r6630
1994-02-26 16:09:05 -05:00
Doug Evans
ca790d0f1d * mips-tfile.c (fatal, error): Don't use prototypes ifndef HAVE_VPRINTF.
From-SVN: r6629
1994-02-26 18:09:13 +00:00
Doug Evans
46eeda1717 fixincludes: Fix including of machine/r3_cpu.h and machine/r4_cpu.h in machine/cpu.h on...
* fixincludes: Fix including of machine/r3_cpu.h and machine/r4_cpu.h
in machine/cpu.h on Ultrix 4.3.

From-SVN: r6628
1994-02-26 18:07:52 +00:00
Richard Kenner
818a0d4e44 (substitute_in_type, case REAL_TYPE): Fix typo in previous change.
From-SVN: r6627
1994-02-26 07:13:48 -05:00
Richard Kenner
afb52ee701 (substitute_in_type, case REAL_TYPE): Allow TYPE_{MIN,MAX}_VALUE to be
unassigned.

From-SVN: r6626
1994-02-25 18:32:13 -05:00
Mike Stump
da4c17179b back out of 29th merge
From-SVN: r6625
1994-02-25 20:56:59 +00:00
Richard Kenner
00244e6b17 (if_then_else_cond): Fix typo in narrowing of a SUBREG.
From-SVN: r6624
1994-02-25 09:00:07 -05:00
Richard Kenner
59e6092731 (neg[sd]f2): Use %R1 consistently.
From-SVN: r6623
1994-02-25 07:34:38 -05:00
Richard Kenner
a2d353e50c (find_reloads): Don't restrict class of multiword operand to preferred class.
(find_reloads_address_1): Rework to use `switch'.
Reload a SUBREG of a hard reg as a unit.

From-SVN: r6622
1994-02-25 07:19:23 -05:00
Richard Kenner
8bffcaf6a0 (mul*): Disallow multiply by constant.
From-SVN: r6621
1994-02-25 06:42:11 -05:00
Ian Lance Taylor
bcb58dfcd5 In <prototypes.h>, fix prototypes of getcwd and link.
From-SVN: r6620
1994-02-25 02:20:56 +00:00
Richard Stallman
a69b6c05eb Don't force os=-hpux for hp9k2... and hp9k3...
From-SVN: r6619
1994-02-24 18:06:41 +00:00
Richard Kenner
6f8db4e64b (LIB_SPEC, LINK_SPEC): Add missing blanks.
From-SVN: r6618
1994-02-24 08:54:21 -05:00
Richard Kenner
937018d674 (HANDLE_SYSV_PRAGMA): Define.
From-SVN: r6617
1994-02-24 08:42:01 -05:00
Richard Kenner
453331a344 (maybe_eliminate_biv_1): Ignore GIV if it isn't always computed.
From-SVN: r6616
1994-02-24 07:46:32 -05:00
Richard Kenner
f67ff5de60 (scan_loop, strength_reduce): Go back to LOOP_TOP, not its NEXT_INSN
(in case SCAN_START == LOOP_TOP).

From-SVN: r6615
1994-02-24 07:31:30 -05:00
Mike Stump
70659ac0df 29th Cygnus<->FSF merge. Includes cp-* --> cp/* relocation.
From-SVN: r6614
1994-02-24 01:05:58 +00:00
Mike Stump
8d08fdba59 Initial revision
From-SVN: r6613
1994-02-24 01:02:37 +00:00
Richard Kenner
f8a9e02bc1 (choose_reload_regs): If EQUIV is a SUBREG, make a new REG.
From-SVN: r6612
1994-02-23 08:13:48 -05:00
Richard Kenner
fdff8c6d88 (expand_call): Functions may be const or volatile from their type.
From-SVN: r6611
1994-02-23 07:30:04 -05:00
Richard Kenner
a0b25e45b7 (decl_attributes): Warn if attribute will be ignored.
Allow `noreturn', `volatile', and `const' on object of type pointer to
function.
Always give decl with error or warning.

From-SVN: r6610
1994-02-23 07:29:42 -05:00
Ian Lance Taylor
984da0ffb0 Put double underscores around M32, m88k, pdp11, tower[_0-9]*, u370, u3b[0-9]*
From-SVN: r6609
1994-02-22 16:03:44 +00:00
Ian Lance Taylor
43b8af688c Fix prototype declaration of utime in <sys/times.h>.
From-SVN: r6608
1994-02-22 16:01:26 +00:00
Richard Kenner
45a2f71a78 Added peephole patterns for stack adjustments followed by QI/HI pushes.
(movsi): Use output_move_dconst for TARGET_32532.
(ffs): New patterns.

From-SVN: r6607
1994-02-22 08:14:21 -05:00
Richard Kenner
bb4efbc82f (output_move_dconst): New function.
(global_symbolic_reference_mentioned_p): New function.
(print_operand_address): Allow pc-relative mode not only
for {LABEL, SYMBOL}_REF but for CONST too. If compiling PIC,
transform "symbol+const(Rx)" to "const(symbol(sb))[Rx:b]".

From-SVN: r6606
1994-02-22 08:13:00 -05:00
Richard Kenner
ea1fd45353 (FRAME_POINTER_REQUIRED): Moved to here.
(DEFAULT_PCC_STRUCT_RETURN): Deleted; redundant.

From-SVN: r6605
1994-02-22 08:11:40 -05:00
Richard Kenner
a86b6d9894 (FRAME_POINTER_REQUIRED): Deleted.
From-SVN: r6604
1994-02-22 08:10:42 -05:00
Richard Kenner
666b023ed5 (FUNCTION_{PROLOGUE,EPILOGUE}): %$ is not supported in fprintf.
(ADJSP): New macro to resolve %$.

(output_move_dconst): New declaration.

(OVERRIDE_OPTIONS): New macro to support PIC.
(FUNCTION_PROLOGUE): Save/Load sb when compiling PIC.
(FUNCTION_EPILOGUE): Restore sb when compiling PIC.
(INITIAL_FRAME_POINTER_OFFSET): Take saved sb into account when PIC.
(LEGITIMATE_CONSTANT_P, GO_IF_LEGITIMATE_ADDRESS): Set
current_function_uses_pic_offset_table if P uses a global symbolic reference.
(ENCODE_SECTION_INFO): New macro to support PIC.

From-SVN: r6603
1994-02-22 08:09:58 -05:00
Torbjorn Granlund
98ff4808a0 (divsi3): Emit all RTL from RTL template.
(udivsi3, modsi3, umodsi3, divdi3, udivdi3, moddi3, umoddi3): Likewise.

From-SVN: r6602
1994-02-22 12:58:56 +00:00
Richard Kenner
ecc1a5acaf (LINK_SPEC): Add "/nol".
From-SVN: r6601
1994-02-22 07:31:05 -05:00
Richard Kenner
3f44e3cdab (PATH_SEPARATOR): Add to here.
From-SVN: r6600
1994-02-22 07:21:24 -05:00
Richard Kenner
63a526f779 (LINK_SPEC, LIB_SPEC): New macros.
(PATH_SEPARATOR): Delete from here.

From-SVN: r6599
1994-02-22 07:21:03 -05:00
Jim Wilson
13fa4e7a47 (fatal, error): Add ! HAVE_VPRINTF versions.
From-SVN: r6598
1994-02-21 14:48:20 -08:00
Jim Wilson
f815187151 (mips_move_2words): Check for TARGET_FLOAT64 != TARGET_64BIT.
(override_options): Don't override MASK_64BIT; don't allow -gp64
without -mips3.

From-SVN: r6597
1994-02-20 13:50:13 -08:00
Jim Wilson
2370b831da Update mips3 comments.
(TARGET_OPTIONS): Add gp64 and gp32.
(SECONDARY_MEMORY_NEEDED): Don't allow fp<->gp copy if TARGET_FLOAT64
!= TARGET_64BIT.
(CC1_SPEC): Generate correct -mfp* and -mgp* from -mips*

From-SVN: r6596
1994-02-20 13:49:07 -08:00
Jim Wilson
64d8baf943 (movdf_internal1): Disable if TARGET_FLOAT64 != TARGET_64BIT.
(movdf_internal1a):  New pattern.

From-SVN: r6595
1994-02-20 13:47:37 -08:00
Jim Wilson
3005527fb1 (CC1_SPEC): Generate correct -mfp* and -mgp* from -mips*
From-SVN: r6594
1994-02-20 13:43:56 -08:00
Jim Wilson
923a8d0689 (HARD_REGNO_MODE_OK): Update comment.
From-SVN: r6593
1994-02-20 12:47:44 -08:00
Jim Wilson
8571bab7e6 (OBJECT_FORMAT_ELF): Add comments.
From-SVN: r6592
1994-02-20 12:39:12 -08:00
Ian Lance Taylor
b7bb5c984d Permit upper case characters in typedef of size_t in <sys/types.h>.
From-SVN: r6591
1994-02-19 19:26:35 +00:00
Doug Evans
e5fed6e623 (ASM_OUTPUT_SECTION_NAME): Fix typo.
From-SVN: r6590
1994-02-17 23:00:57 +00:00
Doug Evans
545e2d7d8d (ASM_OUTPUT_SECTION_NAME): Define.
(ASM_OUTPUT_SECTION): Delete.

From-SVN: r6589
1994-02-17 22:58:07 +00:00
Doug Evans
fa8cc22d63 h8300.h (ASM_OUTPUT_SECTION_NAME): Define.
* h8300/h8300.h (ASM_OUTPUT_SECTION_NAME): Define.
(EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, SELECT_SECTION): Delete.
(ASM_OUTPUT_LABELREF): Call fprintf directly.

From-SVN: r6588
1994-02-17 22:54:34 +00:00
Doug Evans
721822b490 (asm_output_labelref): Delete.
From-SVN: r6587
1994-02-17 22:53:45 +00:00
Doug Evans
12dd125a10 (ASM_OUTPUT_SECTION_NAME): Define.
From-SVN: r6586
1994-02-17 22:52:52 +00:00
Doug Evans
8a425a0576 (IN_NAMED_SECTION): New macro.
(named_section): New function.
(enum in_section): New value `in_named'.
(in_named_name): New global.
(make_function_rtl, make_decl_rtl, output_constant_def): Fix comment
regarding ASM_OUTPUT_LABELREF.
(make_decl_rtl): Warn if section attribute used with uninitialized
variable declaration.
(assemble_start_function, assemble_variable, output_constant_def):
Change to named section if given.

From-SVN: r6585
1994-02-17 22:51:33 +00:00