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)
downloadpoky-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 037feeb534..689b79c61c 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
1477+++ libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/603e/fpu/Implies 1477+++ libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/603e/fpu/Implies
1478@@ -0,0 +1 @@ 1478@@ -0,0 +1 @@
1479+powerpc/powerpc32/603e/fpu 1479+powerpc/powerpc32/603e/fpu
1480Index: libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/e300c3/fpu/Implies
1481===================================================================
1482--- /dev/null
1483+++ libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/e300c3/fpu/Implies
1484@@ -0,0 +1,2 @@
1485+# e300c3 is a variant of 603e so use the same optimizations for sqrt
1486+powerpc/powerpc32/603e/fpu
1480Index: libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500mc/fpu/Implies 1487Index: libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500mc/fpu/Implies
1481=================================================================== 1488===================================================================
1482--- /dev/null 1489--- /dev/null