about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-04-26 13:00:56 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-04-26 13:00:56 -0500
commitaa630f590c9c7d070a7cdf3a2a88069ad6b63de9 (patch)
tree0ea5aa28ed2f779cdf3a17c86809495d366d08af
parent1b8359836df38a33306ce359fa031b3fe33d6077 (diff)
downloadglibc-aa630f590c9c7d070a7cdf3a2a88069ad6b63de9.tar.gz
glibc-aa630f590c9c7d070a7cdf3a2a88069ad6b63de9.tar.xz
glibc-aa630f590c9c7d070a7cdf3a2a88069ad6b63de9.zip
PowerPC: modf optimization fix
This patch fix the 3c0265394d9ffedff2b0de508602dc52e077ce5c commits
by correctly setting minimum architecture for modf PPC optimization
to power5+ instead of power5 (since only on power5+ round/ceil will
be inline to inline assembly).
-rw-r--r--ChangeLog11
-rw-r--r--sysdeps/powerpc/power5+/fpu/s_modf.c (renamed from sysdeps/powerpc/power5/fpu/s_modf.c)0
-rw-r--r--sysdeps/powerpc/power5+/fpu/s_modff.c (renamed from sysdeps/powerpc/power5/fpu/s_modff.c)0
-rw-r--r--sysdeps/powerpc/powerpc32/power5+/Implies2
-rw-r--r--sysdeps/powerpc/powerpc64/power5+/Implies2
5 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 105d6c02e1..2900e14a64 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
+	* sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
+	* sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
+	* sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
+	* sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
+	* sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
+	powerpc/power5+/fpu folders.
+	* sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
+
+
 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
 
 	* sysdeps/x86_64/fpu/libm-test-ulps: Update.
diff --git a/sysdeps/powerpc/power5/fpu/s_modf.c b/sysdeps/powerpc/power5+/fpu/s_modf.c
index b45bf66169..b45bf66169 100644
--- a/sysdeps/powerpc/power5/fpu/s_modf.c
+++ b/sysdeps/powerpc/power5+/fpu/s_modf.c
diff --git a/sysdeps/powerpc/power5/fpu/s_modff.c b/sysdeps/powerpc/power5+/fpu/s_modff.c
index 55759cde05..55759cde05 100644
--- a/sysdeps/powerpc/power5/fpu/s_modff.c
+++ b/sysdeps/powerpc/power5+/fpu/s_modff.c
diff --git a/sysdeps/powerpc/powerpc32/power5+/Implies b/sysdeps/powerpc/powerpc32/power5+/Implies
index a51d2fdf95..02d222d22a 100644
--- a/sysdeps/powerpc/powerpc32/power5+/Implies
+++ b/sysdeps/powerpc/powerpc32/power5+/Implies
@@ -1,2 +1,4 @@
+powerpc/power5+/fpu
+powerpc/power5+
 powerpc/powerpc32/power5/fpu
 powerpc/powerpc32/power5
diff --git a/sysdeps/powerpc/powerpc64/power5+/Implies b/sysdeps/powerpc/powerpc64/power5+/Implies
index a01a13ab12..565bc94471 100644
--- a/sysdeps/powerpc/powerpc64/power5+/Implies
+++ b/sysdeps/powerpc/powerpc64/power5+/Implies
@@ -1,2 +1,4 @@
+powerpc/power5+/fpu
+powerpc/power5+
 powerpc/powerpc64/power5/fpu
 powerpc/powerpc64/power5