[PATCH] [SH/SH4]: Defined _FPU_DOUBLE, _FPU_SINGLE, _FPU_RC_DOWN and _FPU_RC_UP
Nobuhiro Iwamatsu
iwamatsu@nigauri.org
Mon May 7 01:33:00 GMT 2012
2012/4/27 Richard Henderson <rth@twiddle.net>:
> On 04/26/12 00:14, Nobuhiro Iwamatsu wrote:
>> -#define _FPU_RC_NEAREST 0x0 /* RECOMMENDED */
>> +#define _FPU_RC_NEAREST 0x0 /* RECOMMENDED */
>> #define _FPU_RC_ZERO 0x1
>> +#define _FPU_RC_DOWN 0x0 /* DO NOT USE */
>> +#define _FPU_RC_UP 0x0 /* DO NOT USE */
>> +
>> +/* precision control */
>> +#define _FPU_EXTENDED 0x0
>> +#define _FPU_DOUBLE 0x80000
>> +#define _FPU_SINGLE 0x00000 /* When bit 19 was 0, single mode. */
>
> This seems dangerous in the extreme.
> What are you trying to fix here?
>
I want to add infomation of FPU register and undefined macro for SH4.
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
More information about the Libc-alpha
mailing list