Commit Graph

473 Commits

Author SHA1 Message Date
Jim Wilson
a20b7b051e (function_arg): Return PARALLEL for structure with aligned double fields.
(function_arg): Return PARALLEL for structure with
aligned double fields.
(type_dependent_reg): Delete.
(mips_function_value): Return PARALLEL for structure
with two floating point fields.

From-SVN: r12195
1996-06-06 16:29:34 -07:00
Jim Wilson
45afe7a2f5 (TYPE_DEPENDENT_REG): Delete.
From-SVN: r12194
1996-06-06 16:24:53 -07:00
Jim Wilson
2777975438 (CPP_SPEC): Make -mabi=n32 the default.
From-SVN: r12151
1996-06-03 16:38:47 -07:00
Jim Wilson
a4dbf02d62 (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT, MULTILIB_DEFAULTS,
ASM_SPEC, STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.

From-SVN: r12150
1996-06-03 16:37:46 -07:00
Jim Wilson
b067d889bf (tablejump_internal4+1): Fix typo in condition.
From-SVN: r12149
1996-06-03 16:36:11 -07:00
Jim Wilson
9315fc066e (CC, OLDCC): Define to be `cc -32'.
From-SVN: r12148
1996-06-03 16:34:35 -07:00
Jim Wilson
9fa0af71f6 (tablejump_internal3, tablejump_internal4): New patterns.
(tablejump): Use them for PIC code.

From-SVN: r12139
1996-06-02 16:40:42 -07:00
Jim Wilson
93c8a6e6e5 Add -mabi=n32 support.
(ABI_64BIT): Delete.
(TARGET_LONG64, CPP_SPEC, STACK_BOUNDARY, MIPS_STACK_ALIGN,
GP_ARG_LAST, FP_ARG_LAST, SUBTARGET_CONDITIONAL_REGISTER_USAGE,
MAX_ARGS_IN_REGISTER, FUNCTION_ARG_PADDING, RETURN_IN_MEMORY,
SETUP_INCOMING_VARARGS): Modify.
(REG_PARM_STACK_SPACE): Ifdef out.
(TARGET_DEFAULT, SUBTARGET_TARGET_OPTIONS): Define.

From-SVN: r12135
1996-05-31 12:06:49 -07:00
Jim Wilson
bfd472b2d1 Add -mabi=n32 support.
(TARGET_DEFAULT, ASM_OUTPUT_INTERNAL_LABEL,
ASM_GENERATE_INTERNAL_LABEL): Delete.
(MULTILIB_DEFAULTS, ASM_SPEC, EXTRA_SECTION_FUNCTIONS,
ASM_OUTPUT_ALIGNED_LOCAL, STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC):
Modify.
(MIPS_ABI_DEFAULT, LOCAL_LABEL_PREFIX): Define.

From-SVN: r12134
1996-05-31 12:03:46 -07:00
Jim Wilson
ade6c31950 Add -mabi=n32 support.
(mips_const_double_ok, mips_move_1word, mips_move_2words,
function_arg, override_options, mips_asm_file_start,
compute_frame_size, save_restore_insns, function_prologue,
mips_expand_prologue, function_epilogue, mips_function_value): Modify.
(mips_abi, mips_abi_string): Define

From-SVN: r12133
1996-05-31 12:02:47 -07:00
Jim Wilson
b2d8cf335c Add -mabi=n32 support.
(ABI_64BIT): Delete.
(TARGET_OPTIONS, INITIAL_ELIMINATION_OFFSET, GO_IF_LEGITIMATE_ADDRESS,
CONSTANT_ADDRESS_P, LEGITIMATE_CONSTANT_P, LEGITIMIZE_ADDRESS,
ASM_OUTPUT_ADDR_DIFF_ELT): Modify.
(enum mips_abi_type, SUBTARGET_TARGET_OPTIONS): Define.
(mips_abi, mips_abi_string): Declare.

From-SVN: r12131
1996-05-31 12:01:37 -07:00
Jim Wilson
694aa3f2a2 (jump, tablejump_internal1, tablejump_internal2): Add
-mabi=n32 support.

From-SVN: r12130
1996-05-31 12:00:22 -07:00
Jim Wilson
98128ff66f (MULTILIB_OPTIONS): Add -mabi=n32 support.
From-SVN: r12129
1996-05-31 11:59:11 -07:00
Jim Wilson
ee76ea6459 (HOST_BITS_PER_LONG): Use _MIPS_SZLONG not 64.
From-SVN: r12128
1996-05-31 11:58:34 -07:00
Doug Evans
4baed42f6d * mips/mips.h (ASM_COMMENT_START): Change from "\t\t#" to " #".
From-SVN: r11997
1996-05-17 16:20:31 +00:00
Doug Evans
2096c147c7 mips.c (target_switches, [...]): Delete.
* mips/mips.c (target_switches, print_options): Delete.
	(mips_asm_file_start): Put output of -G,Cpu,ISA here.

From-SVN: r11996
1996-05-17 16:18:45 +00:00
Jim Wilson
d02f4ef742 (block_move_call): Change modfe to mode.
From-SVN: r11854
1996-04-19 13:43:05 -07:00
Jim Wilson
030d2f0125 (mips_expand_prologue): Add extra arg to
INIT_CUMULATIVE_ARGS call.

From-SVN: r11853
1996-04-19 13:41:30 -07:00
Jeff Law
2c7ee1a641 calls.c (expand_call): Remove current_call_is_indirect nonsense.
* calls.c (expand_call): Remove current_call_is_indirect nonsense.
	Add additional argument to INIT_CUMULATIVE_ARGS.
	(emit_library_call): Likewise.
	(emit_library_call_value): Likewise.
	* expr.c (expand_builtin): Likewise.
	* function.c (assign_parms): Likewise.
	* cp/method.c (emit_thunk): Likewise.
	* config/pa/pa.h (hppa_args): New field "indirect".
	(INIT_CUMULATIVE_ARGS): Initialize "indirect" field.
	(FUNCTION_ARG): Check "indirect" field, rather than
	"current_call_is_indirect".
	* All other backends updated with new argument to
	INIT_CUMULATIVE_ARGS

From-SVN: r11641
1996-03-29 07:37:11 -07:00
Jim Wilson
1b2202b86d (mips_expand_prologue): In initialization of fnargs, delete
special treatment of METHOD_TYPE.

From-SVN: r11584
1996-03-20 14:20:11 -08:00
Jim Wilson
a88d48a43c (ASM_OUTPUT_DOUBLE_INT): Use 'X' if CONST_INT and
HOST_BITS_PER_WIDE_INT == 64.

From-SVN: r11539
1996-03-14 16:58:32 -08:00
Jim Wilson
e0c228daf7 (mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING to
TREE_ADDRESSABLE;

From-SVN: r11529
1996-03-14 09:46:53 -08:00
Doug Evans
8a7facf891 (EXTRA_SECTIONS): Delete in_bss.
From-SVN: r11380
1996-02-29 03:13:29 +00:00
Richard Kenner
7d4ea832ef (SWITCH_TAKES_ARG): Use DEFAULT_SWITCH_TAKES_ARG.
From-SVN: r11266
1996-02-13 17:58:57 -05:00
Jim Wilson
197b2bf341 (probe+2, probe+4): New conditional move patterns.
(movsicc): Don't truncate comparison if it is DImode.

From-SVN: r11191
1996-02-09 16:05:30 -08:00
Jim Wilson
a3e11772c3 (LINK_SPEC): Change nostdlib to nostartfiles.
(LOCAL_LABEL_PREFIX): Delete.
(ASM_OUTPUT_SECTION_NAME): Define.

From-SVN: r10954
1996-01-08 15:27:06 -08:00
Michael Meissner
a211c7b906 Allow large alignments on ELF systems
From-SVN: r10951
1996-01-07 22:00:44 +00:00
Richard Kenner
ff18b63b8d (expand_block_move): Preserve MEM flags in call to movstrsi_internal.
From-SVN: r10835
1995-12-22 17:45:39 -05:00
Jim Wilson
39dffea3c7 (FIRST_PSEUDO_REGISTER): Increment.
(FIXED_REGISTERS, CALL_USED_REGISTERS, REGISTER_NAMES,
DEBUG_REGISTER_NAMES): Add entry for new RAP reg.
(RAP_REG_NUM, RETURN_ADDRESS_POINTER_REGNUM): New macros.
(RETURN_ADDR_RTX): Define.
(ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET):
Add RETURN_ADDRESS_POINTER_REGNUM support.

From-SVN: r10819
1995-12-19 15:30:21 -08:00
Jim Wilson
b987661c06 (mips_reg_names, mips_sw_reg_names, mips_regno_to_class):
Add entry for new RAP reg.

From-SVN: r10818
1995-12-19 15:28:28 -08:00
Jim Wilson
e24b877609 (block_move_call): Likewise for memcpy and bcopy.
From-SVN: r10813
1995-12-18 18:15:51 -08:00
Jim Wilson
01d7472931 (INITIALIZE_TRAMPOLINE): Likewise for cacheflush.
From-SVN: r10812
1995-12-18 18:14:50 -08:00
Jim Wilson
8b8def46d6 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
MULTILIB_MATCHES): Add -msingle-float support.

From-SVN: r10636
1995-11-29 18:40:33 -08:00
Jim Wilson
54efdaa420 (CPP_SPEC): If -msingle-float and not -msoft-float, pass -D__mips_single_float.
(CPP_SPEC): If -msingle-float and not
-msoft-float, pass -D__mips_single_float.  Likewise for -m4650 and
not -msoft-float.

From-SVN: r10635
1995-11-29 18:38:54 -08:00
Jim Wilson
f043418986 (WORD_SWITCH_TAKES_ARG): Define.
(LINK_SPEC): Add rpath.

From-SVN: r10625
1995-11-29 12:14:02 -08:00
Jim Wilson
62e74545e7 (LINK_SPEC): Add rpath.
From-SVN: r10624
1995-11-29 12:13:25 -08:00
Jim Wilson
1417e9bdd0 (mips_function_value): Add check for i > 0 when deciding
if structure should be return in FP registers.

From-SVN: r10617
1995-11-28 18:56:14 -08:00
Richard Kenner
7838976cf7 (NO_IMPLICIT_EXTERN_C): Define this again so that unistd.h doesn't get badly `fixed' for C++.
(NO_IMPLICIT_EXTERN_C): Define this again so that unistd.h doesn't get
badly `fixed' for C++.  libg++ will now build with this definition.

From-SVN: r10593
1995-11-26 14:08:53 -05:00
Richard Kenner
ef9e5f1346 (HARD_REGNO_NREGS): If FP_REG_P, always use UNITS_PER_FPREG to
calculate number of words needed.

From-SVN: r10576
1995-11-09 11:24:11 -05:00
Richard Kenner
7f2e00db7b (MULTILIB_DEFAULTS): Define.
From-SVN: r10551
1995-11-05 10:45:20 -05:00
Richard Kenner
4773744509 (CPP_SPEC): Add -EB and -EL support.
From-SVN: r10550
1995-11-05 10:41:42 -05:00
Richard Kenner
4db7b4ce13 (gen_int_relational): Use 'U' for unsigned constants.
From-SVN: r10504
1995-10-22 07:38:43 -04:00
Richard Kenner
1cfb304831 (override_options): Don't allow anything but integers to go in the
HI/LO registers.

From-SVN: r10404
1995-09-26 16:51:32 -04:00
Richard Kenner
abc95ed36d Fix spelling errors.
From-SVN: r10289
1995-08-28 06:54:22 -04:00
Richard Kenner
a2ef6e41d2 (INITIAL_ELIMINATION_OFFSET): For 64 bit ABI...
(INITIAL_ELIMINATION_OFFSET): For 64 bit ABI, subtract
current_function_pretend_args_size when converting from argument
pointer.

From-SVN: r10229
1995-08-13 21:34:08 -04:00
Richard Kenner
48eebadec0 (SETUP_INCOMING_VARARGS): In if statement, only subtract one for stdarg.
(SETUP_INCOMING_VARARGS): In if statement, only subtract one for
stdarg.  Don't subtract PRETEND_SIZE from argument pointer when
calculating stack address.

From-SVN: r10228
1995-08-13 21:33:47 -04:00
Richard Kenner
8c3edecd1b (INIT_SECTION_ASM_OP): Don't define.
(LD_INIT_SWITCH, LD_FINI_SWITCH, HAS_INIT_SECTION): Don't undef.
(ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Ifdef out.

From-SVN: r10226
1995-08-13 21:26:00 -04:00
Richard Kenner
ae38d0798c (CPP_SPEC): Fix typo.
From-SVN: r10208
1995-07-29 16:24:13 -04:00
Richard Kenner
192616a4f0 (CPP_SPEC): Output -D__mips64 when -mips3, or -mips4, or -mgp64.
Output -U__mips64 when -mgp32.

From-SVN: r10180
1995-07-28 08:58:38 -04:00
Richard Kenner
917c2d237f (MULTILIB_*, LIBGCC, INSTALL_LIBGCC): Delete.
From-SVN: r10105
1995-07-01 22:28:19 -04:00