[Gmp-commit] /var/hg/gmp: 2 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Fri Feb 28 10:40:46 UTC 2014
details: /var/hg/gmp/rev/6090ef4c2258
changeset: 16318:6090ef4c2258
user: Torbjorn Granlund <tege at gmplib.org>
date: Fri Feb 28 11:40:30 2014 +0100
description:
(fake_cpuid): Handle id 7, make bold claims.
details: /var/hg/gmp/rev/fd2b176da745
changeset: 16319:fd2b176da745
user: Torbjorn Granlund <tege at gmplib.org>
date: Fri Feb 28 11:40:41 2014 +0100
description:
ChangeLog
diffstat:
ChangeLog | 4 ++++
mpn/x86_64/fat/fat.c | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
diffs (25 lines):
diff -r 07a2dde2c971 -r fd2b176da745 ChangeLog
--- a/ChangeLog Thu Feb 27 17:17:50 2014 +0100
+++ b/ChangeLog Fri Feb 28 11:40:41 2014 +0100
@@ -1,3 +1,7 @@
+2014-02-28 Torbjorn Granlund <tege at gmplib.org>
+
+ * mpn/x86_64/fat/fat.c (fake_cpuid): Handle id 7, make bold claims.
+
2014-02-27 Torbjorn Granlund <tege at gmplib.org>
* mpn/x86_64/fat/fat_entry.asm: Zero ecx for the benefit of new BMI2
diff -r 07a2dde2c971 -r fd2b176da745 mpn/x86_64/fat/fat.c
--- a/mpn/x86_64/fat/fat.c Thu Feb 27 17:17:50 2014 +0100
+++ b/mpn/x86_64/fat/fat.c Fri Feb 28 11:40:41 2014 +0100
@@ -118,6 +118,10 @@
return 0;
case 1:
return fake_cpuid_table[i].fms;
+ case 7:
+ dst[0] = 0xff; /* BMI1, AVX2, etc */
+ dst[1] = 0xff; /* BMI2, etc */
+ return 0;
case 0x80000001:
dst[4 + 29 / 8] = (1 << (29 % 8)); /* "long" mode */
return 0;
More information about the gmp-commit
mailing list