This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] [SH/SH4]: Defined _FPU_DOUBLE, _FPU_SINGLE, _FPU_RC_DOWNand _FPU_RC_UP
- From: Nobuhiro Iwamatsu <iwamatsu at nigauri dot org>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 7 May 2012 10:32:17 +0900
- Subject: Re: [PATCH] [SH/SH4]: Defined _FPU_DOUBLE, _FPU_SINGLE, _FPU_RC_DOWNand _FPU_RC_UP
- References: <1335424461-16243-1-git-send-email-iwamatsu@nigauri.org> <4F9965B1.8080706@twiddle.net>
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