diff options
author | Torbjorn Granlund <tg@gmplib.org> | 2021-03-09 12:13:58 +0100 |
---|---|---|
committer | Torbjorn Granlund <tg@gmplib.org> | 2021-03-09 12:13:58 +0100 |
commit | 5f8739a6ce9a3a78b66d52b5c7624e273d055f0e (patch) | |
tree | 32f32875c92e3c6089f029e53541a6962bf56dbc /config.guess | |
parent | 68c0771a48d3cce51c8c5d47667cbb08b2664f24 (diff) | |
download | gmp-5f8739a6ce9a3a78b66d52b5c7624e273d055f0e.tar.gz |
Recognise CPUs z13-z15.
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config.guess b/config.guess index c28e14080..64b6e76bf 100755 --- a/config.guess +++ b/config.guess @@ -1138,6 +1138,13 @@ s390*-*-*) 2097 | 2098) zcpu="z10" ;; 2817 | 2818 | *) zcpu="z196" ;; esac + if grep "^features.* vxe2" /proc/cpuinfo >/dev/null; then + zcpu="z15" + elif grep "^features.* vxe" /proc/cpuinfo >/dev/null; then + zcpu="z14" + elif grep "^features.* vx" /proc/cpuinfo >/dev/null; then + zcpu="z13" + fi case "$guess_full" in s390x-*-*) exact_cpu=${zcpu} ;; s390-*-*) exact_cpu=${zcpu}esa ;; |