[gambit-list] Change G5 and x86_64 on Mac OS to use 64-bit words (tested on G5 only)

Bradley Lucier lucier at math.purdue.edu
Wed Feb 6 16:55:37 EST 2008


This allows the use of large vectors/f64vectors/etc. as well as  
making bignum arithmetic a lot faster (uses 32-bit words in places  
instead of 16-bit words).

Brad


# HG changeset patch
# User lucier at descartes.math.purdue.edu
# Date 1202334694 18000
# Node ID 2f7e30305256cc58ae265ed052a12cce8b3b8fb8
# Parent  024cde9a6dd6a8aa7a3b79440f0442aa422e3e44
Pre-built G5 and x86_64 versions now use 64-bit words by default.

diff -r 024cde9a6dd6 -r 2f7e30305256 prebuilt/macosx/build
--- a/prebuilt/macosx/build     Tue Feb 05 18:00:19 2008 -0500
+++ b/prebuilt/macosx/build     Wed Feb 06 16:51:34 2008 -0500
@@ -24,7 +24,7 @@ for VARIANT in intel32 intel64 G3 G4 G5
        intel32) CONFIG_ARCH="-arch i686"
                 CONFIG_HOST="--host=i386-apple-darwin9"
                 ;;
-      intel64) CONFIG_ARCH="-arch x86_64"
+      intel64) CONFIG_ARCH="-arch x86_64 -m64"
                 CONFIG_HOST="--host=i386-apple-darwin9"
                 ;;
             G3) CONFIG_ARCH="-arch ppc750"
@@ -33,7 +33,7 @@ for VARIANT in intel32 intel64 G3 G4 G5
             G4) CONFIG_ARCH="-arch ppc7400"
                 CONFIG_HOST="--host=powerpc-apple-darwin9"
                 ;;
-           G5) CONFIG_ARCH="-arch ppc970"
+           G5) CONFIG_ARCH="-arch ppc970 -m64"
                 CONFIG_HOST="--host=powerpc-apple-darwin9"
                 ;;
      universal) CONFIG_ARCH="-arch i686 -arch ppc750"




More information about the Gambit-list mailing list