aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/fpu/math-use-builtins-trunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/fpu/math-use-builtins-trunc.h')
-rw-r--r--sysdeps/powerpc/fpu/math-use-builtins-trunc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/powerpc/fpu/math-use-builtins-trunc.h b/sysdeps/powerpc/fpu/math-use-builtins-trunc.h
new file mode 100644
index 0000000..3e6a55d
--- /dev/null
+++ b/sysdeps/powerpc/fpu/math-use-builtins-trunc.h
@@ -0,0 +1,9 @@
+#ifdef _ARCH_PWR5X
+# define USE_TRUNCF_BUILTIN 1
+# define USE_TRUNC_BUILTIN 1
+#else
+# define USE_TRUNCF_BUILTIN 0
+# define USE_TRUNC_BUILTIN 0
+#endif
+#define USE_TRUNCL_BUILTIN 0
+#define USE_TRUNCF128_BUILTIN 0