[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r11844 - in /trunk/libc: ChangeLog.eglibc sysdeps/powerpc/bits/mathdef.h
- To: commits@xxxxxxxxxx
- Subject: [commits] r11844 - in /trunk/libc: ChangeLog.eglibc sysdeps/powerpc/bits/mathdef.h
- From: joseph@xxxxxxxxxx
- Date: Fri, 22 Oct 2010 00:23:45 -0000
Author: joseph
Date: Thu Oct 21 17:23:44 2010
New Revision: 11844
Log:
* sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA, FP_FAST_FMAF): Do
not define if __NO_FPRS__.
Modified:
trunk/libc/ChangeLog.eglibc
trunk/libc/sysdeps/powerpc/bits/mathdef.h
Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Thu Oct 21 17:23:44 2010
@@ -1,3 +1,8 @@
+2010-10-21 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA, FP_FAST_FMAF): Do
+ not define if __NO_FPRS__.
+
2010-09-29 Nobuhiro Iwamatsu <iwamatsu@xxxxxxxxxxx>
Andrew Stubbs <ams@xxxxxxxxxxxxxxxx>
Modified: trunk/libc/sysdeps/powerpc/bits/mathdef.h
==============================================================================
--- trunk/libc/sysdeps/powerpc/bits/mathdef.h (original)
+++ trunk/libc/sysdeps/powerpc/bits/mathdef.h Thu Oct 21 17:23:44 2010
@@ -39,8 +39,10 @@
# define FP_ILOGB0 (-2147483647)
# define FP_ILOGBNAN (2147483647)
+#ifndef __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 */