This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [SH/SH4]: Defined _FPU_DOUBLE, _FPU_SINGLE, _FPU_RC_DOWNand _FPU_RC_UP


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]