[oe-commits] =?UTF-8?Q?Mats=20K=C3=A4rrman=20?=: eglibc_2.19: Make ppc e300c3 benefit from 603e sqrt optimizations

git at git.openembedded.org git at git.openembedded.org
Tue Apr 1 22:30:57 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 263e278be61093509110267596fdd75c225bf06a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=263e278be61093509110267596fdd75c225bf06a

Author: Mats Kärrman <Mats.Karrman at tritech.se>
Date:   Tue Apr  1 16:20:18 2014 +0000

eglibc_2.19: Make ppc e300c3 benefit from 603e sqrt optimizations

Tested on PowerPC MPC5125.

Signed-off-by: Mats Karrman <mats.karrman at tritech.se>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/eglibc/eglibc-2.19/glibc.fix_sqrt2.patch | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/recipes-core/eglibc/eglibc-2.19/glibc.fix_sqrt2.patch b/meta/recipes-core/eglibc/eglibc-2.19/glibc.fix_sqrt2.patch
index 037feeb..689b79c 100644
--- a/meta/recipes-core/eglibc/eglibc-2.19/glibc.fix_sqrt2.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.19/glibc.fix_sqrt2.patch
@@ -1477,6 +1477,13 @@ Index: libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/603e/fpu/Implies
 +++ libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/603e/fpu/Implies
 @@ -0,0 +1 @@
 +powerpc/powerpc32/603e/fpu
+Index: libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/e300c3/fpu/Implies
+===================================================================
+--- /dev/null
++++ libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/e300c3/fpu/Implies
+@@ -0,0 +1,2 @@
++# e300c3 is a variant of 603e so use the same optimizations for sqrt
++powerpc/powerpc32/603e/fpu
 Index: libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500mc/fpu/Implies
 ===================================================================
 --- /dev/null



More information about the Openembedded-commits mailing list