[Gmp-commit] /var/hg/gmp: 2 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Thu Oct 15 21:53:10 UTC 2020
details: /var/hg/gmp/rev/03a450cbc329
changeset: 18092:03a450cbc329
user: Torbjorn Granlund <tg at gmplib.org>
date: Thu Oct 15 23:44:34 2020 +0200
description:
Recognise zen3.
details: /var/hg/gmp/rev/67331aac1932
changeset: 18093:67331aac1932
user: Torbjorn Granlund <tg at gmplib.org>
date: Thu Oct 15 23:51:15 2020 +0200
description:
Recognise zen3.
diffstat:
config.guess | 12 +++++++++++-
configure.ac | 2 +-
2 files changed, 12 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 838698ee40e1 -r 67331aac1932 config.guess
--- a/config.guess Tue Sep 22 15:12:20 2020 +0200
+++ b/config.guess Thu Oct 15 23:51:15 2020 +0200
@@ -992,9 +992,19 @@
default:
modelstr = "zen2";
break;
- }
+ }
+ break;
+ case 25: /* Zen 3 */
+ cpu_64bit = 1, cpu_avx = 1;
+ modelstr = "zen3";
+ break;
}
}
+ else if (strcmp (vendor_string, "HygonGenuine") == 0)
+ {
+ cpu_64bit = 1, cpu_avx = 1;
+ modelstr = "zen";
+ }
else if (strcmp (vendor_string, "CyrixInstead") == 0)
{
/* Should recognize Cyrix' processors too. */
diff -r 838698ee40e1 -r 67331aac1932 configure.ac
--- a/configure.ac Tue Sep 22 15:12:20 2020 +0200
+++ b/configure.ac Thu Oct 15 23:51:15 2020 +0200
@@ -1889,7 +1889,7 @@
x86_have_mulx=yes
path_64="x86_64/zen x86_64"
;;
- zen2 | zen2noavx)
+ zen2 | zen2noavx | zen3 | zen3noavx)
gcc_cflags_cpu="-mtune=znver2 -mtune=znver1 -mtune=amdfam10 -mtune=k8"
gcc_cflags_arch="-march=znver2 -march=znver1 -march=amdfam10 -march=k8"
path="x86/k7/mmx x86/k7 x86/mmx x86"
More information about the gmp-commit
mailing list