Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to devel-gcc grimoire by Eric Sandall (6eb978f431a24580caac7783e9c1260019ca9a33)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to devel-gcc grimoire by Eric Sandall (6eb978f431a24580caac7783e9c1260019ca9a33)
  • Date: Wed, 13 May 2009 01:57:58 -0500

GIT changes to devel-gcc grimoire by Eric Sandall <sandalle AT sourcemage.org>:

gnu/gcc/HISTORY | 5 +++
gnu/gcc/PRE_BUILD | 4 --
gnu/gcc/gcc-4.3.0-ffast-math.patch | 50
-------------------------------------
gnu/gcc/gcc-4.4.0-ffast-math.patch | 50
+++++++++++++++++++++++++++++++++++++
4 files changed, 56 insertions(+), 53 deletions(-)

New commits:
commit 6eb978f431a24580caac7783e9c1260019ca9a33
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

gcc: Remove old ffast-math patch comments from PRE_BUILD

commit 41623013dc5debeda4eb296ec358f933381e0e29
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

gcc: Updated gcc-4.3.0-ffast-math.patch to gcc 4.4.0

diff --git a/gnu/gcc/HISTORY b/gnu/gcc/HISTORY
index b661133..b9d21e0 100644
--- a/gnu/gcc/HISTORY
+++ b/gnu/gcc/HISTORY
@@ -1,3 +1,8 @@
+2009-05-12 Eric Sandall <sandalle AT sourcemage.org>
+ * PRE_BUILD: gcc-4.3.0-ffast-math.patch -> gcc-4.4.0-ffast-math.patch
+ * gcc-4.4.0-ffast-math.patch: Updated to gcc 4.4.0 from
+ gcc-4.3.0-ffast-math.patch
+
2009-05-10 Eric Sandall <sandalle AT sourcemage.org>
* BUILD: profiledbootstrap should not use parallel make
See http://gcc.gnu.org/install/build.html
diff --git a/gnu/gcc/PRE_BUILD b/gnu/gcc/PRE_BUILD
index 485b4a2..39cfa77 100755
--- a/gnu/gcc/PRE_BUILD
+++ b/gnu/gcc/PRE_BUILD
@@ -2,6 +2,4 @@ default_pre_build &&
mk_source_dir $SOURCE_DIRECTORY.bld &&
cd $SOURCE_DIRECTORY &&

-#apply the GCC 4.1.1 fast-math fix
-#patch -p1 < $SPELL_DIRECTORY/gcc-$VERSION-ffast-math.patch
-patch -p1 < $SPELL_DIRECTORY/gcc-4.3.0-ffast-math.patch
+patch -p1 < $SPELL_DIRECTORY/gcc-4.4.0-ffast-math.patch
diff --git a/gnu/gcc/gcc-4.3.0-ffast-math.patch
b/gnu/gcc/gcc-4.3.0-ffast-math.patch
deleted file mode 100644
index 747787e..0000000
--- a/gnu/gcc/gcc-4.3.0-ffast-math.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -Naur gcc-4.3.0.orig/gcc/config/i386/crtfastmath.c
gcc-4.3.0/gcc/config/i386/crtfastmath.c
---- gcc-4.3.0.orig/gcc/config/i386/crtfastmath.c 2008-03-15
19:59:26.925738030 -0700
-+++ gcc-4.3.0/gcc/config/i386/crtfastmath.c 2008-03-15 19:59:32.823482534
-0700
-@@ -40,6 +40,23 @@
- #include "cpuid.h"
- #endif
-
-+struct
-+{
-+ unsigned short int cwd;
-+ unsigned short int swd;
-+ unsigned short int twd;
-+ unsigned short int fop;
-+ long int fip;
-+ long int fcs;
-+ long int foo;
-+ long int fos;
-+ long int mxcsr;
-+ long int mxcsr_mask;
-+ long int st_space[32];
-+ long int xmm_space[32];
-+ long int padding[56];
-+} __attribute__ ((aligned (16))) fxsave;
-+
- static void __attribute__((constructor))
- #ifndef __x86_64__
- /* The i386 ABI only requires 4-byte stack alignment, so this is necessary
-@@ -64,22 +81,6 @@
- if (edx & bit_FXSAVE)
- {
- /* Check if DAZ is available. */
-- struct
-- {
-- unsigned short int cwd;
-- unsigned short int swd;
-- unsigned short int twd;
-- unsigned short int fop;
-- long int fip;
-- long int fcs;
-- long int foo;
-- long int fos;
-- long int mxcsr;
-- long int mxcsr_mask;
-- long int st_space[32];
-- long int xmm_space[32];
-- long int padding[56];
-- } __attribute__ ((aligned (16))) fxsave;
-
- __builtin_memset (&fxsave, 0, sizeof (fxsave));
-
diff --git a/gnu/gcc/gcc-4.4.0-ffast-math.patch
b/gnu/gcc/gcc-4.4.0-ffast-math.patch
new file mode 100644
index 0000000..7cfd00c
--- /dev/null
+++ b/gnu/gcc/gcc-4.4.0-ffast-math.patch
@@ -0,0 +1,50 @@
+diff -Naur gcc-4.4.0.orig/gcc/config/i386/crtfastmath.c
gcc-4.4.0/gcc/config/i386/crtfastmath.c
+--- gcc-4.4.0.orig/gcc/config/i386/crtfastmath.c 2009-05-12
16:27:42.827645459 -0700
++++ gcc-4.4.0/gcc/config/i386/crtfastmath.c 2009-05-12 16:27:50.489399823
-0700
+@@ -30,6 +30,23 @@
+ #include "cpuid.h"
+ #endif
+
++struct
++{
++ unsigned short int cwd;
++ unsigned short int swd;
++ unsigned short int twd;
++ unsigned short int fop;
++ long int fip;
++ long int fcs;
++ long int foo;
++ long int fos;
++ long int mxcsr;
++ long int mxcsr_mask;
++ long int st_space[32];
++ long int xmm_space[32];
++ long int padding[56];
++} __attribute__ ((aligned (16))) fxsave;
++
+ static void __attribute__((constructor))
+ #ifndef __x86_64__
+ /* The i386 ABI only requires 4-byte stack alignment, so this is necessary
+@@ -54,22 +71,6 @@
+ if (edx & bit_FXSAVE)
+ {
+ /* Check if DAZ is available. */
+- struct
+- {
+- unsigned short int cwd;
+- unsigned short int swd;
+- unsigned short int twd;
+- unsigned short int fop;
+- long int fip;
+- long int fcs;
+- long int foo;
+- long int fos;
+- long int mxcsr;
+- long int mxcsr_mask;
+- long int st_space[32];
+- long int xmm_space[32];
+- long int padding[56];
+- } __attribute__ ((aligned (16))) fxsave;
+
+ __builtin_memset (&fxsave, 0, sizeof (fxsave));
+



  • [SM-Commit] GIT changes to devel-gcc grimoire by Eric Sandall (6eb978f431a24580caac7783e9c1260019ca9a33), Eric Sandall, 05/13/2009

Archive powered by MHonArc 2.6.24.

Top of Page