Commit Graph

119 Commits

Author SHA1 Message Date
Richard Kenner
ef08782266 (WCHAR_{TYPE,UNSIGNED,TYPE_SIZE}): Now int.
From-SVN: r10406
1995-09-28 14:03:52 -04:00
Richard Kenner
3f63df5671 Change FSF address.
From-SVN: r9987
1995-06-15 17:03:19 -04:00
Richard Kenner
0e29e3c9c6 Change FSF address.
From-SVN: r9980
1995-06-15 15:44:43 -04:00
Richard Kenner
f17dfa938d Use <xxx> in #include.
From-SVN: r9603
1995-05-09 18:25:08 -04:00
Richard Kenner
6cb64c6a04 (TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE): Fix assembler syntax
errors.

From-SVN: r9336
1995-04-07 19:33:16 -04:00
Richard Kenner
a74853cb65 Remove last change.
From-SVN: r9143
1995-03-09 09:36:16 -05:00
Richard Kenner
e4a4d31146 (ASM_OUTPUT_ADDR_DIFF_ELT): Fix typo in label name.
From-SVN: r9114
1995-03-02 19:08:45 -05:00
Richard Kenner
8b109b37fc Added arg to RETURN_POPS_ARGS.
From-SVN: r8999
1995-02-21 18:21:14 -05:00
Michael Meissner
2f7a07c294 Rename files.
From-SVN: r8935
1995-02-13 20:31:46 +00:00
Richard Kenner
3826a3da7f Update comments.
From-SVN: r8811
1995-01-25 14:40:53 -05:00
Richard Kenner
43d826d977 (TARGET_DEFAULT): Forbid usage of bitfield instructions.
From-SVN: r8562
1994-11-23 17:23:50 -05:00
Richard Kenner
c4338b4712 (everywhere): Correct range is -0x1fffffff to 0x20000000, others have to be loaded with movd.
(everywhere): Correct range is -0x1fffffff to 0x20000000, others have to be
loaded with movd.
Shortcircuit with TARGET_32532 as early as possible.
(movsi): Use movd to load unknown symbol values. to allow

From-SVN: r8561
1994-11-23 17:23:24 -05:00
Richard Kenner
989b3e7257 Add -mhimem to support linking above 0x20000000 boundary.
Fix meaning of BASE_REG_NEEDED.
(print_operand): Removed dead code.

From-SVN: r8560
1994-11-23 17:22:53 -05:00
Richard Kenner
2d33065aae Add -mhimem to support linking above 0x20000000 boundary.
(CONST_COSTS): Correct range is -0x1fff to 0x2000.

From-SVN: r8559
1994-11-23 17:21:54 -05:00
Richard Kenner
0102f05389 (ENCODE_SECTION_INFO): Only calls may go through the PLT.
(ENCODE_SECTION_INFO): Only calls may go through the PLT. All address
loads, even function address loads, have to go through the GOT or
function addresses will not be unique.

From-SVN: r8152
1994-09-27 19:27:44 -04:00
Richard Kenner
378dfce9ed (stackadjust/push peepholes): For the adjust/push/push pattern one offset was wrong.
(stackadjust/push peepholes): For the adjust/push/push pattern one offset
was wrong.
Don't use addr for register and and MEM refs.

From-SVN: r8027
1994-09-06 18:24:43 -04:00
Richard Kenner
d37f862e3f (stack-adjust/push peepholes): Addresses are moved with "addr", not
with "movd".

From-SVN: r8014
1994-09-01 19:29:51 -04:00
Richard Kenner
6ce47c075f (print_operand_address): A patch for 2.5.8 ended up at the wrong place.
(print_operand_address): A patch for 2.5.8 ended up at the wrong
place.  Moved.

From-SVN: r7881
1994-08-08 19:56:06 -04:00
Richard Kenner
879cad45f2 (TARGET_BITFIELD): New macro.
(TARGET_SWITCHES): Support for TARGET_BITFIELD.

From-SVN: r7880
1994-08-08 19:55:43 -04:00
Richard Kenner
b8318e4845 (all patterns that use ins/inss and ext/exts): Disallow use of these
instructions when -mnobitfield is specified.

From-SVN: r7879
1994-08-08 19:55:09 -04:00
Richard Kenner
311b7cd795 (print_operand): Integer CONST_DOUBLE is DImode.
From-SVN: r7836
1994-07-30 15:06:58 -04:00
Richard Kenner
0b41202241 (PRINT_OPERAND): Integer CONST_DOUBLE is DImode.
From-SVN: r7835
1994-07-30 15:05:30 -04:00
Richard Kenner
d8e5c94615 (output_move_double): If the dest is register pair and both regs are used in src address...
(output_move_double): If the dest is register pair and both regs are
used in src address, use ADDR to compute src address, not ADDD, which
throws away scaled index.

From-SVN: r7540
1994-06-23 17:45:46 -04:00
Richard Kenner
8c4ff866d8 (print_operand_address): print_operand_address creates PLUS-rtls for
internal use, so it has to handle them.

From-SVN: r7372
1994-05-27 17:30:31 -04:00
Richard Kenner
10670d47c6 Don't use the extsd/extd instructions on the ns32532.
From-SVN: r7321
1994-05-17 18:06:24 -04:00
Richard Kenner
51a52b63e5 (output_move_dconst): For some integer constants, use movxwd/movd
instead of movxbd/movxwd.

From-SVN: r7268
1994-05-09 18:42:04 -04:00
Jim Wilson
09dcff637f (output_move_double): Always use split_double for the
CNSTOP case.

From-SVN: r7191
1994-05-02 14:24:52 -07:00
Richard Kenner
996a5f59fb Remove references to LSHIFT and lshlsi3.
From-SVN: r7016
1994-04-10 07:13:16 -04:00
Richard Kenner
1ed37bfd37 (FUNCTION_PROLOGUE): use __GLOBAL_OFFSET_TABLE_, not _GLOBAL_OFFSET_TABLE_.
(LEGITIMATE_CONSTANT_P, LEGITIMATE_PIC_OPERAND_P): Use
LEGITIMATE_PIC_OPERAND_P, not LEGITIMATE_CONSTANT_P,
to set current_function_uses_pic_offset_table.
(INDIRECTABLE_1_ADDRESS_P): Baseregisters are not legal
for {LABEL,SYMBOL}_REFS when emitting pic.
(GO_IF_INDEXABLE_ADDRESS): INDIRECTABLE_1_ADDRESSes are indexable too.

From-SVN: r6926
1994-03-30 17:30:32 -05:00
Richard Kenner
4fa6668b45 (global_symbolic_reference_mentioned_p): New parameter F.
(print_operand_address): When generating pic baseregisters are only
allowed if offset is CONST_INT. For {SYMBOL,LABEL}_REF a indexregister
has to be used instead. (sb) is no longer emitted for constant
absolute addresses.  (output_move_double): Use CONSTANT_P instead of
CONSTANT_ADDRESS_P.

From-SVN: r6925
1994-03-30 17:30:05 -05:00
Richard Kenner
f8eb03658e (FUNCTION_PROLOGUE): Load sb through r0 if TARGET_REGPARM is false.
From-SVN: r6797
1994-03-16 09:07:29 -05:00
Richard Kenner
bc69bfacd4 (global_symbolic_reference_mentioned_p): Recurse only
if GET_CODE (op) == CONST.

From-SVN: r6796
1994-03-16 09:07:11 -05:00
Doug Evans
c178c4f503 (ASM_OUTPUT_ASCII): Fix typo.
From-SVN: r6677
1994-02-28 23:22:31 +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
Richard Kenner
5d49bd0cf2 (ASM_OUTPUT_ADDR_DIFF_ELT): Use .long, not .double.
From-SVN: r6282
1993-12-23 09:03:23 -05:00
Richard Kenner
9e269f7292 (ASM_OUTPUT_ASCII): Wrap in `do { ... } while (0)'.
From-SVN: r6225
1993-12-13 19:09:31 -05:00
Richard Stallman
2927b46038 (movsi): Handle moves to fp reg.
Handle const_double as operand 1.

From-SVN: r6082
1993-11-14 01:19:38 +00:00
Richard Stallman
72f180fbf0 (ASM_OUTPUT_ASCII): Declare i.
From-SVN: r6064
1993-11-11 03:30:32 +00:00
Richard Stallman
038d9bc039 (FRAME_POINTER_REQUIRED): Require a frame pointer if fn calls setjmp.
From-SVN: r5777
1993-10-13 19:59:57 +00:00
Doug Evans
9f297063f6 (CPP_PREDEFINES): Add assertions for system/cpu/machine.
From-SVN: r5660
1993-10-07 19:48:20 +00:00
Richard Stallman
ce966a6061 Add peepholes for stack adjust plus pushes.
(recognizer for subtracting const from reg 17):
Add %$ in adjspb/adjspd insns.

From-SVN: r5648
1993-10-06 22:09:26 +00:00
Richard Stallman
33724a9fb2 (output_move_double): Special code for pushing from an address that uses the sp.
(output_move_double): Special code for
pushing from an address that uses the sp.  Use PUSHOP for pushes,
not POPOP.

From-SVN: r5647
1993-10-06 22:06:21 +00:00
Richard Stallman
ac7d29191d (FUNCTION_EPILOGUE, FUNCTION_PROLOGUE): Add %$ in adjspb/adjspd insns.
From-SVN: r5646
1993-10-06 22:04:11 +00:00
Doug Evans
65c4237934 (CPP_PREDEFINES): Add system/cpu/machine assertions where missing.
From-SVN: r5557
1993-10-02 08:55:06 +00:00
Richard Stallman
7f2ab88627 (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE):
If omitting frame pointer, output an adjspd if necessary.
Use movd to save registers if four or less need saving.
Set DEPTH properly.

From-SVN: r5320
1993-09-14 18:56:12 +00:00
Richard Kenner
228e0c5f6c (tablejump): Now SImode and uses cased.
From-SVN: r5169
1993-08-16 18:59:00 -04:00