summary refs log tree commit diff
path: root/sysdeps/powerpc/fpu/math-use-builtins-fabs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/fpu/math-use-builtins-fabs.h')
-rw-r--r--sysdeps/powerpc/fpu/math-use-builtins-fabs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/powerpc/fpu/math-use-builtins-fabs.h b/sysdeps/powerpc/fpu/math-use-builtins-fabs.h
new file mode 100644
index 0000000000..8976d0b956
--- /dev/null
+++ b/sysdeps/powerpc/fpu/math-use-builtins-fabs.h
@@ -0,0 +1,8 @@
+/* Generic implementations already assume builtin support for
+   float, double, and _Float128 .  */
+
+/* We can't enable it for long double due GCC Bugzilla Bug 29253
+   "expand_abs wrong default code for floating point" where it can
+   cause spurious "invalid" exceptions from comparisons with NaN in
+   the code sequence generated.  */
+#define USE_FABSL_BUILTIN 0