]> code.ossystems Code Review - openembedded-core.git/commitdiff
eglibc_2.19: Make ppc e300c3 benefit from 603e sqrt optimizations
authorMats Kärrman <Mats.Karrman@tritech.se>
Tue, 1 Apr 2014 16:20:18 +0000 (16:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Apr 2014 22:38:53 +0000 (23:38 +0100)
Tested on PowerPC MPC5125.

Signed-off-by: Mats Karrman <mats.karrman@tritech.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/eglibc/eglibc-2.19/glibc.fix_sqrt2.patch

index 037feeb534a1b456d4d1d5eb2b570362ad9cb3c2..689b79c61c989ca3a3c8b9dc47aa1eb55c9d4163 100644 (file)
@@ -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