Commit Graph

343 Commits

Author SHA1 Message Date
Jim Wilson
5619cc87d3 (mips_output_external): Use ASM_OUTPUT_UNDEF_FUNCTION.
(mips_output_external_libcall): New function.
(mips_asm_file_end): Handle ASM_OUTPUT_UNDEF_FUNCTION.

From-SVN: r8101
1994-09-20 13:08:32 -07:00
Jim Wilson
b696ee6b88 (ASM_OUTPUT_UNDEF_FUNCTION): Define.
(ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
(ASM_DECLARE_FUNCTION_SIZE): Define.

From-SVN: r8100
1994-09-20 13:08:07 -07:00
Jim Wilson
03daa6410c (memory): Add missing !r4600 to first define_function_unit.
From-SVN: r8061
1994-09-09 14:16:36 -07:00
Jim Wilson
8894cf34f4 (truncdisi2): Change from define_expand to define_insn.
(truncdihi2, truncdiqi2): Likewise.

From-SVN: r8055
1994-09-09 12:15:14 -07:00
Jim Wilson
b6d5307feb (NO_IMPLICIT_EXTERN_C): Comment out.
From-SVN: r7953
1994-08-19 17:14:21 -07:00
Jim Wilson
40ef093754 (ASM_OUTPUT_ASCII): Edit comment.
From-SVN: r7936
1994-08-17 10:10:29 -07:00
Jim Wilson
87fc3db713 (ASM_OUTPUT_NEWLINE): Delete.
(ASM_OUTPUT_ASCII): Don't use ASM_OUTPUT_NEWLINE.

From-SVN: r7924
1994-08-14 16:09:56 -07:00
Jim Wilson
1827f5ca56 (ASM_OUTPUT_NEWLINE): Delete.
(ASM_OUTPUT_ASCII): Define.

From-SVN: r7923
1994-08-14 16:09:34 -07:00
Ian Lance Taylor
a349007c7b Let mips_cpu and mips_cpu_string be defaulted.
From-SVN: r7908
1994-08-12 22:54:56 +00:00
Jim Wilson
f1f8fc9790 (NO_IMPLICIT_EXTERN_C): Define.
From-SVN: r7795
1994-07-26 10:48:56 -07:00
Kresten Krab Thorup
f58cfbfb7b (STRUCT_VALUE): Change definition from `(rtx)0' to
just `0' so it is a valid expression for the pre-processor.

From-SVN: r7706
1994-07-11 18:19:35 +00:00
Jim Wilson
48199e329d (smuldi3_highpart, smuldi3_highpart_internal,
umuldi3_highpart, umuldi3_highpart_internal): New patterns.

From-SVN: r7649
1994-07-02 19:22:00 -07:00
Jim Wilson
abdf3eea96 (truncdisi2): Change from define_insn to define_expand.
(truncdihi2, truncdiqi2, extendsidi2): Likewise.
(extendsidi2_internal): New pattern.

From-SVN: r7520
1994-06-18 13:53:45 -07:00
Jim Wilson
c5563e117b (movesi_unaligned, movsi_ulw, movsi_usw): Delete.
(extv, extzv, insv, movsi_ulw, movsi_usw): New patterns.

From-SVN: r7413
1994-05-31 17:48:34 -07:00
Jim Wilson
54a53d8cf5 New file.
From-SVN: r7402
1994-05-31 16:37:39 -07:00
Jim Wilson
34ab957bb3 (STARTFILE_SPEC, LIB_SPEC): Define.
From-SVN: r7344
1994-05-20 09:50:02 -07:00
Jason Merrill
9ae435031b (FIXPROTO_DEFINES): Set to -D__EXTENSIONS__.
From-SVN: r7332
1994-05-18 23:08:30 +00:00
Jim Wilson
b4f1aa7ad5 (override_options): Delete TARGET_LLONG128 references.
From-SVN: r7207
1994-05-04 11:28:18 -07:00
Jim Wilson
923d630eff (MASK_LLONG128, TARGET_LLONG128): Delete.
(TARGET_SWITCHES): Delete -mlonglong128 option.
(LONG_LONG_TYPE_SIZE): Delete TARGET_LLONG128 reference.

From-SVN: r7206
1994-05-04 11:27:45 -07:00
Jim Wilson
0993859691 Fix typo in comment.
From-SVN: r7205
1994-05-04 11:25:08 -07:00
Jim Wilson
a8de086a47 (CPP_SPEC): Delete.
(SIZE_TYPE): Delete.

From-SVN: r7204
1994-05-04 11:23:33 -07:00
Jim Wilson
cbccfdd6c6 (CPP_SPEC): Define __PTRDIFF_TYPE__ and __mips.
(PTRDIFF_TYPE): Delete.
(SIZE_TYPE): Define.
(SET_ASM_OP): Define.

From-SVN: r7203
1994-05-04 11:23:09 -07:00
Jim Wilson
e79ac6962e (CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and __mips.
From-SVN: r7202
1994-05-04 11:22:40 -07:00
Jim Wilson
3a44724c3c (PTRDIFF_TYPE): Delete.
(CPP_SPEC): Define, overriding ultrix.h version.

From-SVN: r7201
1994-05-04 11:22:12 -07:00
Jim Wilson
66894d6255 (CPP_SPEC): Define __SIZE_TYPE__,
__PTRDIFF_TYPE__, and __mips.
(SIZE_TYPE): Delete.

From-SVN: r7200
1994-05-04 11:21:37 -07:00
Jim Wilson
929f0a7a2a (CPP_SPEC): Delete.
From-SVN: r7199
1994-05-04 11:20:59 -07:00
Jim Wilson
e6b538e1d5 (casesi): Delete force_reg calls.
From-SVN: r7193
1994-05-02 15:22:22 -07:00
Jim Wilson
9db8b14a27 (CPP_SPEC): Define _LANGUAGE_C for Objective C also.
From-SVN: r7127
1994-04-21 12:54:38 -07:00
Ian Lance Taylor
92544bdfd5 Handle taking address of function when using -membedded-pic
From-SVN: r7105
1994-04-21 18:28:09 +00:00
Richard Kenner
c0c523d85b (RTX_COSTS): Remove LSHIFT.
From-SVN: r7077
1994-04-18 19:22:14 -04:00
Jim Wilson
d7afa8f034 (OLDCC): Change -XNh1500 to -XNh2000.
From-SVN: r7034
1994-04-11 10:45:48 -07:00
Jim Wilson
9753d4e4b1 (mips_select_rtx_section, mips_select_section): New functions.
(mips_select_rtx_section, mips_select_section): New
functions.  Prefer rdata when TARGET_EMBEDDED_DATA, and prefer
sdata otherwise.

From-SVN: r7031
1994-04-11 10:36:16 -07:00
Jim Wilson
365c6a0bb8 (MASK_EMBEDDED_DATA, TARGET_EMBEDDED_DATA): New macros.
(TARGET_SWITCHED): Add new option -membedded-data.
(SELECT_RTX_SECTION, SELECT_SECTION): Call function in mips.c.

From-SVN: r7030
1994-04-11 10:35:46 -07:00
Ian Lance Taylor
e0bfcea5c9 Add support for -membedded-pic
From-SVN: r6997
1994-04-08 15:23:06 +00:00
Jim Wilson
9b190d1c88 (addsi3_internal): Don't output subtract.
(subsi3_internal): Don't output add.
(smulsi3_highpart, umulsi3_highpart): Add missing third operand to
mips_move_1word call.

From-SVN: r6933
1994-03-31 16:48:54 -08:00
Jim Wilson
850980198a (mips_rtx_classify, md_register_operand,
fpsw_register_operand, cmp2_op, uns_cmp_op, fcmp_op): Delete.
(mips_const_double_ok, mips_fill_delay_slot, output_block_move,
print_operand, function_epilogue): Don't treat gas differently
than native assembler.
(equality_op, cmp_op): Delete use of classify_op.
(override_options): Delete uses of mips_rtx_classify.
(final_prescan_insn): Simplify based on other changes.

From-SVN: r6932
1994-03-31 16:48:24 -08:00
Jim Wilson
9a863c83a4 (mips_rtx_classify, cmp2_op, fcmp_op,
fpsw_register_operand, md_register_operand, uns_cmp_op,
classify_op, additive_op, divmod_op, unsigned_op, CLASS_*_OP,
NOTICE_UPDATE_CC): Delete.
(RTX_COSTS): Use different numbers for R3000/R6000/R4000.
(REGISTER_MOVE_COST): Use cost of 2 within same register class, 4
for FP to GR copy, 6 otherwise.
(ADJUST_COST): Give anti and output dependencies zero cost.
(PREDICATE_CODES): Delete obsolete functions from list.

From-SVN: r6931
1994-03-31 16:47:52 -08:00
Jim Wilson
d7a58f30d1 (mips_asm_file_start): Add comment on TARGET_GP_OPT code.
From-SVN: r6858
1994-03-23 14:28:28 -08:00
Jim Wilson
ef392512ef (override_options): Delete unnecessary accidental comment.
From-SVN: r6851
1994-03-22 16:04:49 -08:00
Jim Wilson
5a5b76a224 (movsi): Add special handling for constants which are illegal addresses when pic.
(movsi): Add special handling for constants which are
illegal addresses when pic.
(tablejump_internal1, tablejump_internal2): Emit .cpadd when
TARGET_ABICALLS.  Adjust length to include .cpadd.

From-SVN: r6850
1994-03-22 16:03:38 -08:00
Jim Wilson
5de1e2cef4 (GO_IF_LEGITIMATE_ADDRESS): Also pretend that we have REG plus CONST_INT addresses by deleting an else.
(GO_IF_LEGITIMATE_ADDRESS): Also pretend that we have REG
plus CONST_INT addresses by deleting an else.
(CONSTANT_ADDRESS_P): When pic, don't accept addresses which are
symbol_ref plus a large integer.
(LEGITIMATE_PIC_OPERAND_P): Likewise.
(LEGITIMIZE_ADDRESS): When pic, convert addresses which are
symbol_reg plus a large integer, to reg plus a large integer.
(ASM_OUTPUT_ADDR_DIFF_ELT): Use .gpword instead of subtracting
labels.

From-SVN: r6849
1994-03-22 16:03:04 -08:00
Jim Wilson
508a48d1f4 (pic_address_needs_scratch): New function.
(override_options): Set flag_pic when TARGET_ABICALLS.

From-SVN: r6848
1994-03-22 16:02:25 -08:00
Jim Wilson
bc0989e960 (MIPS_DEFAULT_GVALUE): Define to zero.
From-SVN: r6847
1994-03-22 16:01:58 -08:00
Jim Wilson
0acefe5425 (TRAMPOLINE_TEMPLATE): Add `move $25,$3' for when TARGET_ABICALLS.
(TRAMPOLINE_TEMPLATE): Add `move $25,$3' for when
TARGET_ABICALLS.  Delete padding for 64 bit case.  Adjust offsets.
(TRAMPOLINE_SIZE): Increase from 9 to 10 words for 32 bit case.
(INITIALIZE_TRAMPOLINE): Increase offsets by 4 bytes for 32 bit case.

From-SVN: r6846
1994-03-22 15:57:28 -08:00
Jim Wilson
ed8969fa7d (SELECT_SECTION): Variables go in readonly data
only if the initializer is constant.

From-SVN: r6820
1994-03-18 15:43:00 -08:00
Jim Wilson
bb98bc58b6 (LINK_SPEC): Do not depend on gas.
(LINK_SPEC): Do not depend on gas.  Don't interpret -EB
and -EL options, but do pass them.
(ASM_SPEC): Make definition depend on whether or
not the default assembler is gas.  Pass all normal assembler
options to gas.
(ASM_FINAL_SPEC): Cross compiling does not presume gas.

From-SVN: r6721
1994-03-07 17:48:08 -08:00
Jim Wilson
3f40de7333 (LINK_SPEC): Do not depend on gas.
(LINK_SPEC): Do not depend on gas.  Don't interpret -EB
and -EL options, but do pass them.

From-SVN: r6720
1994-03-07 17:47:22 -08:00
Jim Wilson
4065d1d2ef (ASM_SPEC, LINK_SPEC): Delete.
From-SVN: r6719
1994-03-07 17:46:59 -08:00
Jim Wilson
a274efa37f (LINK_SPEC): Delete.
From-SVN: r6718
1994-03-07 17:46:43 -08:00
Jim Wilson
ae6b7a9db0 (LINK_SPEC): Likewise.
(ASM_SPEC): Likewise.
(SIZE_TYPE): Delete.
(MAX_WCHAR_TYPE_SIZE): Define.

From-SVN: r6717
1994-03-07 17:46:14 -08:00