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: Richard Henderson <rth at twiddle dot net>
- To: Nobuhiro Iwamatsu <iwamatsu at nigauri dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 26 Apr 2012 08:11:45 -0700
- 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>
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?
r~