[OE-core] [PATCH 1/2] eglibc_2.19: Make ppc e300c3 benefit from 603e sqrt optimizations

Mats Kärrman Mats.Karrman at tritech.se
Tue Apr 1 16:20:18 UTC 2014


Tested on PowerPC MPC5125.

Signed-off-by: Mats Karrman <mats.karrman at tritech.se>
---
 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
-- 
1.7.10.4



More information about the Openembedded-core mailing list