[Gmp-commit] /var/hg/gmp-5.0: Same formula as in the development	version.
    mercurial at gmplib.org 
    mercurial at gmplib.org
       
    Sat Jun  2 07:57:09 CEST 2012
    
    
  
details:   /var/hg/gmp-5.0/rev/218862fedab5
changeset: 13583:218862fedab5
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Sat Jun 02 07:57:06 2012 +0200
description:
Same formula as in the development version.
diffstat:
 mpn/x86_64/fat/fat.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r ffdad0cda019 -r 218862fedab5 mpn/x86_64/fat/fat.c
--- a/mpn/x86_64/fat/fat.c	Sun May 27 09:42:04 2012 +0200
+++ b/mpn/x86_64/fat/fat.c	Sat Jun 02 07:57:06 2012 +0200
@@ -189,7 +189,7 @@
 
   /* Check extended feature flags */
   __gmpn_cpuid (dummy_string, 0x80000001);
-  if ((dummy_string[4 + 29 / 8] & (1 << (29 - 3 * 8))) == 0)
+  if ((dummy_string[4 + 29 / 8] & (1 << (29 % 8))) == 0)
     abort (); /* longmode-capable-bit turned off! */
 
   /*********************************************************/
    
    
More information about the gmp-commit
mailing list