diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-01-17 02:08:51 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-01-17 02:08:51 +0000 |
commit | 59981e9b0df84aa91c52d21c54a7ed158a356aaa (patch) | |
tree | f49bb0bfd1bdaef1f26763b91ecf5760d28d4db4 /sysdeps/powerpc/bits | |
parent | cfa8054fbb6212e64d54a3d4926972a6a20e3498 (diff) | |
download | glibc-59981e9b0df84aa91c52d21c54a7ed158a356aaa.tar.gz glibc-59981e9b0df84aa91c52d21c54a7ed158a356aaa.tar.xz glibc-59981e9b0df84aa91c52d21c54a7ed158a356aaa.zip |
Adapt installed powerpc headers better for soft-float / no-FPRs.
Diffstat (limited to 'sysdeps/powerpc/bits')
-rw-r--r-- | sysdeps/powerpc/bits/mathdef.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/powerpc/bits/mathdef.h b/sysdeps/powerpc/bits/mathdef.h index 288cc6c1d7..b3c21fee6e 100644 --- a/sysdeps/powerpc/bits/mathdef.h +++ b/sysdeps/powerpc/bits/mathdef.h @@ -37,8 +37,10 @@ typedef double double_t; # define FP_ILOGB0 (-2147483647) # define FP_ILOGBNAN (2147483647) +# if !defined _SOFT_FLOAT && !defined __NO_FPRS__ /* The powerpc has a combined multiply/add instruction. */ -# define FP_FAST_FMA 1 -# define FP_FAST_FMAF 1 +# define FP_FAST_FMA 1 +# define FP_FAST_FMAF 1 +# endif #endif /* ISO C99 */ |