[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r11820 - in /fsf/trunk/ports: ChangeLog.arm sysdeps/arm/bits/mathdef.h
- To: commits@xxxxxxxxxx
- Subject: [commits] r11820 - in /fsf/trunk/ports: ChangeLog.arm sysdeps/arm/bits/mathdef.h
- From: eglibc@xxxxxxxxxx
- Date: Wed, 20 Oct 2010 07:03:51 -0000
Author: eglibc
Date: Wed Oct 20 00:03:50 2010
New Revision: 11820
Log:
Import glibc-ports-mainline for 2010-10-20
Modified:
fsf/trunk/ports/ChangeLog.arm
fsf/trunk/ports/sysdeps/arm/bits/mathdef.h
Modified: fsf/trunk/ports/ChangeLog.arm
==============================================================================
--- fsf/trunk/ports/ChangeLog.arm (original)
+++ fsf/trunk/ports/ChangeLog.arm Wed Oct 20 00:03:50 2010
@@ -1,3 +1,8 @@
+2010-10-19 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/arm/bits/mathdef.h (FP_FAST_FMA, FP_FAST_FMAF,
+ FP_FAST_FMAL): Define if associated GCC macros are defined.
+
2010-10-11 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* sysdeps/arm/eabi/feupdateenv.c (feupdateenv): Add
Modified: fsf/trunk/ports/sysdeps/arm/bits/mathdef.h
==============================================================================
--- fsf/trunk/ports/sysdeps/arm/bits/mathdef.h (original)
+++ fsf/trunk/ports/sysdeps/arm/bits/mathdef.h Wed Oct 20 00:03:50 2010
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000, 2004, 2006, 2007
+/* Copyright (C) 1999, 2000, 2004, 2006, 2007, 2010
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -34,6 +34,20 @@
# define FP_ILOGB0 (-2147483647)
# define FP_ILOGBNAN (2147483647)
+/* The GCC 4.6 compiler will define __FP_FAST_FMA{,F,L} if the fma{,f,l}
+ builtins are supported. */
+# if __FP_FAST_FMA
+# define FP_FAST_FMA 1
+# endif
+
+# if __FP_FAST_FMAF
+# define FP_FAST_FMAF 1
+# endif
+
+# if __FP_FAST_FMAL
+# define FP_FAST_FMAL 1
+# endif
+
#endif /* ISO C99 */
#ifndef __NO_LONG_DOUBLE_MATH