Patchwork [1/2] eglibc_2.19: Make ppc e300c3 benefit from 603e sqrt optimizations

login
register
mail settings
Submitter Mats Kärrman
Date April 1, 2014, 4:20 p.m.
Message ID <ED3E0BCACD909541BA94A34C4A164D4C5B3AAA2B@post.tritech.se>
Download mbox | patch
Permalink /patch/69853/
State Accepted
Commit 8b0eceeebf88c1c19928c53fb96078e9c0c2299b
Headers show

Comments

Mats Kärrman - April 1, 2014, 4:20 p.m.
Tested on PowerPC MPC5125.

Signed-off-by: Mats Karrman <mats.karrman@tritech.se>
---
 meta/recipes-core/eglibc/eglibc-2.19/glibc.fix_sqrt2.patch |    7 +++++++
 1 file changed, 7 insertions(+)

Patch

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