mips.h (UNITS_PER_HWFPVALUE): Renamed from...
authorAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 28 Jan 2003 15:48:17 +0000 (15:48 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 28 Jan 2003 15:48:17 +0000 (15:48 +0000)
commit447ff38fbaa1664a013c39335c63681083f400df
tree588134eee0a89f1566b711b97da61d6393cc52a2
parent483a57092272aa47a60301105c8d8f73b9a03d85
mips.h (UNITS_PER_HWFPVALUE): Renamed from...

* config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
(UNITS_PER_FPVALUE): Defined as the width of a long double, or
zero if no hardware floating point.
(LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64.
(MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE.
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
(BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE.
(FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64.
* config/mips/mips.c (mips_arg_info): Pass TFmode values in
even FP registers on N32 and N64.
(mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE.
(mips_va_start): Adjust alignment of ARG_POINTER_REGNUM.
(mips_va_arg): Use UNITS_PER_HWFPVALUE.  Impose additional
even-register-like alignment to 128-bit arguments.
(save_restore_insns): Use UNITS_PER_HWFPVALUE.
(mips_function_value): Likewise.  Return TFmode in $f0 and $f2
on N32 or N64.
* config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New.
* config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c.
(TPBIT): Set to tp-bit.c.
(tp-bit.c): Create out of fp-bit.c.

From-SVN: r61977
gcc/config/mips/_tilib.c [new file with mode: 0644]