about summary refs log tree commit diff
path: root/sysdeps/powerpc/power4/fpu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/power4/fpu/Makefile')
-rw-r--r--sysdeps/powerpc/power4/fpu/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/powerpc/power4/fpu/Makefile b/sysdeps/powerpc/power4/fpu/Makefile
new file mode 100644
index 0000000000..e17d32f30e
--- /dev/null
+++ b/sysdeps/powerpc/power4/fpu/Makefile
@@ -0,0 +1,7 @@
+# Makefile fragment for POWER4/5/5+ with FPU.
+
+ifeq ($(subdir),math)
+CFLAGS-mpa.c += --param max-unroll-times=4 -funroll-loops -fpeel-loops
+CPPFLAGS-slowpow.c += -DUSE_LONG_DOUBLE_FOR_MP=1
+CPPFLAGS-slowexp.c += -DUSE_LONG_DOUBLE_FOR_MP=1
+endif