Commit Graph

98 Commits

Author SHA1 Message Date
Torbjorn Granlund
34a28d1ca4 Change all TFmode patterns to have XFmode.
(movxf recognizer, frame version): Use movt, ldt, and stt.
(movxf recognizer, non-frame version): Delete.
(extenddfxf2): Delete * before f constraint.
(extendsfxf2): Likewise.

From-SVN: r9741
1995-05-18 18:14:51 +00:00
Richard Kenner
0a1379a030 Fix typos in comments.
From-SVN: r9740
1995-05-18 00:00:40 -04:00
Torbjorn Granlund
b6e78be74b (DATA_ALIGNMENT): Define.
(ROUND_TYPE_ALIGN): Align XFmode scalars at 128 bit boundaries.
(ROUND_TYPE_SIZE): Round up the size of XFmode objects to 128 bits.
(CONST_DOUBLE_OK_FOR_LETTER_P): Use CONST0_RTX and CONST1_RTX
so that all FP modes are recognized.
(ASM_OUTPUT_LONG_DOUBLE): Define.

From-SVN: r9739
1995-05-18 02:25:40 +00:00
Torbjorn Granlund
37aba8501f (i960_output_ldconst): New code for XFmode.
Also, move SFmode code to immediately after DFmode code.
(S_MODES, D_MODES): Handle XFmode.
(XF_MODES): Was TF_MODES, handle XFmode instead of TFmode.
(hard_regno_mode_ok): Replace TFmode with XFmode.
(i960_output_long_double): New function.

From-SVN: r9738
1995-05-18 02:24:35 +00:00
Richard Kenner
ddd5a7c180 Fix typos in comments.
From-SVN: r9711
1995-05-16 08:14:26 -04:00
Torbjorn Granlund
1aa8bf84f9 OK, this is what I really wanted to install...
From-SVN: r9633
1995-05-12 01:39:52 +00:00
Torbjorn Granlund
ca01dc12dd (i960_output_ldconst): Let split_double handle DImode.
(i960_print_operand): Use REAL_VALUE_TO_DECIMAL for decimal strings.
(i960_output_double, i960_output_float):  Likewise; also change arg
VALUE from `double' to `REAL_VALUE_TYPE'.

From-SVN: r9632
1995-05-12 01:36:45 +00:00
Jim Wilson
3a011f48fa (TARGET_SWITCHES): Make -mold-align set TARGET_FLAG_STRICT_ALIGN.
(TARGET_SWITCHES): Make -mold-align set
TARGET_FLAG_STRICT_ALIGN.
(STRICT_ALIGNMENT): Test TARGET_STRICT_ALIGN.

From-SVN: r9243
1995-03-29 11:53:08 -08:00
Doug Evans
b41ac904b7 i960.c (i960_function_arg_advance): Ensure all regs marked as used if stack is also used (for va_start).
* i960/i960.c (i960_function_arg_advance): Ensure all regs marked
	as used if stack is also used (for va_start).
	(i960_setup_incoming_varargs): Rewrite to be similar to Intel's
	version, but don't allocate reg block unless necessary.

From-SVN: r9226
1995-03-23 02:41:36 +00:00
Ian Lance Taylor
c9040e2c81 Add support for #pragma align
From-SVN: r9128
1995-03-07 22:34:39 +00:00
Ian Lance Taylor
b099377f9e Add cpp predefines for VxWorks, and default to -mca
From-SVN: r9102
1995-03-01 19:54:15 +00:00
Ian Lance Taylor
2038d7efaa Add support for COFF style constructors
From-SVN: r9101
1995-03-01 19:54:01 +00:00
Jim Wilson
5cca7d1778 (fp_literal_one, fp_literal_zero): Don't accept VOIDmode.
(i960_output_ldconst): In DFmode code, delete code to handle FP_REG_P
target.  In DFmode and SFmode code, delete test for HOST_FLOAT_FORMAT
== TARGET_FLOAT_FORMAT.

From-SVN: r9067
1995-02-24 14:51:04 -08:00
Jim Wilson
819f6d5959 (REAL_ARITHMETIC): Define.
(LEGITIMATE_CONSTANT_P): Pass argument mode not VOIDmode to fp_literal.

From-SVN: r9066
1995-02-24 14:50:34 -08:00
Jim Wilson
0e089454b8 (CC1_SPEC): Don't output implicit -gstabs or -gcoff option
if user gave an explicit one.

From-SVN: r9065
1995-02-24 14:42:30 -08:00
Jim Wilson
b02e2417a2 (CC1_SPEC): Don't output implicit -gstabs or -gcoff option if user gave an explicit one.
(CC1_SPEC): Don't output implicit -gstabs or -gcoff option
if user gave an explicit one.
(CC1_SPEC): Likewise.

From-SVN: r9064
1995-02-24 14:41:49 -08:00
Richard Kenner
8b109b37fc Added arg to RETURN_POPS_ARGS.
From-SVN: r8999
1995-02-21 18:21:14 -05:00
Jim Wilson
2e3174a0ed (LIBGCC1, CROSS_LIBGCC1): Define to empty instead of to libgcc1.null.
From-SVN: r8738
1995-01-12 10:36:12 -08:00
Jim Wilson
47ea172b14 (LIBGCC1, CROSS_LIBGCC1): Define to empty instead of to libgcc1.null.y
From-SVN: r8737
1995-01-12 10:27:48 -08:00
Ian Lance Taylor
581d4b9d55 Correct typos.
From-SVN: r8695
1994-12-28 05:07:33 +00:00
Ian Lance Taylor
bd657ba5ce Use REAL_VALUE_TO_TARGET_{DOUBLE,SINGLE} to print float values
From-SVN: r8692
1994-12-27 20:11:06 +00:00
Doug Evans
291cab5be1 Initial revision
From-SVN: r8507
1994-11-18 03:50:28 +00:00
Jim Wilson
c25d3f2094 (VARARGS_STDARG_FUNCTION): New macro.
(i960_function_name_declare, output_function_profiler,
i960_function_epilogue, i960_output_call_insn,  i960_output_ret_insn,
i960_reg_parm_stack_space): Use it.
(compute_frame_size): Don't use current_function_pretend_args_size.
(i960_function_arg_advance, i960_function_arg): Don't use parameter
named.
(i960_setup_incoming_varargs): No need to adjust first_reg_offset
after setting it.  Don't save last named argument to stack.
Don't set pretend_size.

From-SVN: r8322
1994-10-20 13:14:46 -07:00
Jim Wilson
0f1d97b8f6 (SIGNED_CHAR_SPEC): Use #if instead of ?:.
From-SVN: r8321
1994-10-20 13:13:22 -07:00
Jim Wilson
3a6f717720 (call, call_internal, call_value, call_value_internal):
Use memory_operand not general_operand.

From-SVN: r8267
1994-10-13 14:15:06 -07:00
Jim Wilson
ba06166492 New file.
From-SVN: r8174
1994-09-29 17:11:02 -07:00
Jim Wilson
efbde2a29f (i960_setup_incoming_varargs): Store parameter registers
at proper offset in argument block.

From-SVN: r8168
1994-09-29 16:52:57 -07:00
Jim Wilson
3c9b213099 (andsi3+6): Replace bad clrbit pattern with two working ones.
From-SVN: r7585
1994-06-28 10:41:52 -07:00
Jim Wilson
3c2eb9e1db (PUT_SDB_TYPE): Adjust value for compatibility with GNU960 toolchain.
From-SVN: r7403
1994-05-31 16:54:27 -07:00
Doug Evans
dfa11e055c (i960_expr_alignment): Remove LSHIFT.
From-SVN: r7096
1994-04-20 16:03:30 +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
bb562bfc33 (i960_function_name_declare): Handle names that start with '*'.
From-SVN: r6454
1994-01-31 17:55:18 -08:00
Richard Kenner
b0f43a24b7 (OPTIMIZATION_OPTIONS): Just turn on machine-specific opts.
(CAN_DEBUG_WITHOUT_FP): Define.

From-SVN: r6347
1993-12-31 06:53:28 -05:00
Richard Kenner
647902e0ab (ASM_SPEC): Pass -linkrelax, not -link-relax.
From-SVN: r6149
1993-11-23 17:48:30 -05:00
Richard Kenner
d969caf829 Define SHIFT_COUNT_TRUNCATED to have a value of 1.
From-SVN: r5732
1993-10-11 07:43:24 -04: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 Kenner
9a63901fb7 Use WORD_REGISTER_OPERATION and LOAD_EXTEND_OP and delete
BYTE_LOADS_{SIGN,ZERO}_EXTEND.

From-SVN: r5477
1993-09-25 08:29:59 -04:00
Richard Kenner
f863464496 (PREDICATE_CODES): Fix typos and add missing entries.
From-SVN: r5356
1993-09-19 09:08:00 -04:00
Jim Wilson
43a9225684 (INITIAL_FRAME_POINTER_OFFSET): Negate, and subtract 64 bytes.
From-SVN: r5021
1993-07-28 10:43:02 -07:00
Jim Wilson
02892e0694 Add new parameter to move_block_from_reg calls.
From-SVN: r5018
1993-07-28 10:21:14 -07:00
Jim Wilson
1bc147fb8a (ASM_OUTPUT_COMMON): Use SIZE not ROUNDED.
From-SVN: r4860
1993-07-06 13:38:18 -07:00
Richard Kenner
f62f398a28 Remove #define of alloca to __builtin_alloca.
From-SVN: r4756
1993-06-26 11:43:50 -04:00
Jim Wilson
2b7794ad0b (ashlsi3): Use shlo instead of shli.
From-SVN: r4577
1993-05-26 15:39:50 -07:00
Jim Wilson
bfc965cf40 (output_function_profiler): Add missing newlines in strings.
From-SVN: r4317
1993-05-03 17:24:36 -07:00
Jim Wilson
bc1aa94679 (scc pattterns): Add missing mode to conditional operators.
From-SVN: r4312
1993-05-03 16:36:34 -07:00
Jim Wilson
ad2373403f (CONSTANT_ALIGNMENT): Only increase alignment of string constants.
From-SVN: r4106
1993-04-12 12:53:31 -07:00
Brendan Kehoe
6eff269e95 define CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE
From-SVN: r3954
1993-03-31 15:09:44 -05:00
Jim Wilson
1e39f528f7 (FUNCTION_PROFILER): Call output_function_profiler.
(CALL_USED_REGISTERS): Add more comments about register usage.

From-SVN: r3917
1993-03-29 14:32:52 -08:00
Jim Wilson
7a24dbcfa9 (i960_function_prologue): When profiling, don't use those registers clobbered around an mcount call.
(i960_function_prologue): When profiling, don't use those
registers clobbered around an mcount call.
(output_function_profiler): New function.

From-SVN: r3916
1993-03-29 14:32:08 -08:00
Tom Wood
cc5ae86930 (FUNCTION_VALUE_REGNO_P): Change to agree with
FUNCTION_VALUE.

From-SVN: r3884
1993-03-26 11:26:53 +00:00