SOURCES: glibc-ppc-include-mathinline.patch - best solution found ...
sparky
sparky at pld-linux.org
Fri Nov 3 18:39:58 CET 2006
Author: sparky Date: Fri Nov 3 17:39:58 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- best solution found until now: define to 0 if not defined
---- Files affected:
SOURCES:
glibc-ppc-include-mathinline.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/glibc-ppc-include-mathinline.patch
diff -u SOURCES/glibc-ppc-include-mathinline.patch:1.2 SOURCES/glibc-ppc-include-mathinline.patch:1.3
--- SOURCES/glibc-ppc-include-mathinline.patch:1.2 Thu Nov 2 20:24:51 2006
+++ SOURCES/glibc-ppc-include-mathinline.patch Fri Nov 3 18:39:53 2006
@@ -1,15 +1,12 @@
--- glibc-2.5/sysdeps/powerpc/fpu/e_sqrt.c~ 2006-10-06 18:33:08.000000000 +0200
+++ glibc-2.5/sysdeps/powerpc/fpu/e_sqrt.c 2006-10-06 18:32:25.000000000 +0200
-@@ -159,6 +159,14 @@
+@@ -159,6 +159,11 @@
}
+#ifndef __CPU_HAS_FSQRT
-+# if __WORDSIZE == 64 || defined _ARCH_PWR4
-+# define __CPU_HAS_FSQRT 1
-+# else
-+# define __CPU_HAS_FSQRT ((GLRO(dl_hwcap) & PPC_FEATURE_64) != 0)
-+# endif
++ /* If __CPU_HAS_FSQRT is not defined means we don't want optimization */
++# define __CPU_HAS_FSQRT 0
+#endif
+
#ifdef __STDC__
@@ -17,16 +14,13 @@
__ieee754_sqrt (double x)
--- glibc-2.5/sysdeps/powerpc/fpu/e_sqrtf.c~ 2006-04-14 07:44:30.000000000 +0200
+++ glibc-2.5/sysdeps/powerpc/fpu/e_sqrtf.c 2006-10-06 18:32:45.000000000 +0200
-@@ -135,6 +135,14 @@
+@@ -135,6 +135,11 @@
}
+#ifndef __CPU_HAS_FSQRT
-+# if __WORDSIZE == 64 || defined _ARCH_PWR4
-+# define __CPU_HAS_FSQRT 1
-+# else
-+# define __CPU_HAS_FSQRT ((GLRO(dl_hwcap) & PPC_FEATURE_64) != 0)
-+# endif
++ /* If __CPU_HAS_FSQRT is not defined means we don't want optimization */
++# define __CPU_HAS_FSQRT 0
+#endif
+
#ifdef __STDC__
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/glibc-ppc-include-mathinline.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list