summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMats Kärrman <Mats.Karrman@tritech.se>2014-04-01 16:20:18 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-01 23:39:14 +0100
commit8b0eceeebf88c1c19928c53fb96078e9c0c2299b (patch)
treeba096e946767cb0a7a07378511bbcc56ff2cae57
parent1eae7d2503cb1d50baf3554361e5c8287a0a6ed9 (diff)
downloadast2050-yocto-poky-8b0eceeebf88c1c19928c53fb96078e9c0c2299b.zip
ast2050-yocto-poky-8b0eceeebf88c1c19928c53fb96078e9c0c2299b.tar.gz
eglibc_2.19: Make ppc e300c3 benefit from 603e sqrt optimizations
Tested on PowerPC MPC5125. (From OE-Core rev: 263e278be61093509110267596fdd75c225bf06a) Signed-off-by: Mats Karrman <mats.karrman@tritech.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.19/glibc.fix_sqrt2.patch7
1 files changed, 7 insertions, 0 deletions
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
OpenPOWER on IntegriCloud