[PATCH] [SH/SH4]: Defined _FPU_DOUBLE, _FPU_SINGLE, _FPU_RC_DOWN and _FPU_RC_UP
Richard Henderson
rth@twiddle.net
Thu Apr 26 15:12:00 GMT 2012
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~
More information about the Libc-alpha
mailing list