Commit Graph

6610 Commits

Author SHA1 Message Date
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
Doug Evans
868e87899b (DECL_SECTION_NAME): New macro.
(struct tree_decl): New member `section_name'.

From-SVN: r6584
1994-02-17 22:50:36 +00:00
Doug Evans
1e50b042c4 (duplicate_decls): Merge section name into new decl.
From-SVN: r6583
1994-02-17 22:49:29 +00:00
Doug Evans
5289b66589 (decl_attributes): Decode section attribute.
From-SVN: r6582
1994-02-17 22:48:50 +00:00
Doug Evans
7ffa4f13f0 (attrib): Handle attribute ((section ("string"))).
From-SVN: r6581
1994-02-17 22:48:19 +00:00
Doug Evans
2ea998c8f5 (i960_function_prologue): Put register save area before outgoing arg block.
From-SVN: r6580
1994-02-17 02:46:09 +00:00
Jim Wilson
8dc2fbcff4 (get_pointer_alignment): ALIGN is alignment of innermost
object, not the MAX of alignment of all objects.

From-SVN: r6579
1994-02-16 13:01:02 -08:00
Jim Wilson
6551fa4d72 (group_insns): Delete.
(emit_move_insn_1, expand_expr): Use emit_no_conflict_block
instead of group_insns.

From-SVN: r6578
1994-02-16 12:57:27 -08:00
Jim Wilson
9316e820d0 (end_final): Pass BIGGEST_ALIGNMENT not align to
ASM_OUTPUT_ALIGNED_LOCAL.

From-SVN: r6577
1994-02-16 12:50:51 -08:00
Jim Wilson
29587b1c56 (alpha_builtin_saveregs): Don't include current_function_arg_offset_rtx in argsize.
(alpha_builtin_saveregs): Don't include
current_function_arg_offset_rtx in argsize.  Subtract 48 from arg
base address when no int registers stored on the stack.

From-SVN: r6576
1994-02-16 12:42:34 -08:00
Jim Wilson
81fe0dbc99 (expand_units): Fix blockage calculation.
From-SVN: r6575
1994-02-16 12:39:39 -08:00
Jim Wilson
afbc98a500 (scan_loop): Add no_labels_between_p call to tests which decide if...
(scan_loop): Add no_labels_between_p call to tests which
decide if an invariant reg can be safely replaced with its SET_SRC.

From-SVN: r6574
1994-02-16 12:33:00 -08:00