[Gmp-commit] /var/hg/gmp: 2 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Sat Jul 15 13:05:17 CEST 2023
details: /var/hg/gmp/rev/e75ad5bad515
changeset: 18389:e75ad5bad515
user: Torbjorn Granlund <tg at gmplib.org>
date: Sat Jul 15 13:03:59 2023 +0200
description:
Pass -mcpu= instead of -mtune consistently for ibm power.
details: /var/hg/gmp/rev/3b74d9130a34
changeset: 18390:3b74d9130a34
user: Torbjorn Granlund <tg at gmplib.org>
date: Sat Jul 15 13:05:15 2023 +0200
description:
ChangeLog
diffstat:
ChangeLog | 2 ++
configure.ac | 14 +++++++-------
2 files changed, 9 insertions(+), 7 deletions(-)
diffs (47 lines):
diff -r 6c33d9d4f0f4 -r 3b74d9130a34 ChangeLog
--- a/ChangeLog Sat Jul 15 12:44:39 2023 +0200
+++ b/ChangeLog Sat Jul 15 13:05:15 2023 +0200
@@ -1,5 +1,7 @@
2023-07-15 Torbjörn Granlund <tg at gmplib.org>
+ * configure.ac: Pass -mcpu= instead of -mtune= consistently for ibm power.
+
* mpn/riscv/64: Improve Risc V asm support.
* mpn/loongarch/64: Provide basic Loongarch asm support.
diff -r 6c33d9d4f0f4 -r 3b74d9130a34 configure.ac
--- a/configure.ac Sat Jul 15 12:44:39 2023 +0200
+++ b/configure.ac Sat Jul 15 13:05:15 2023 +0200
@@ -1167,25 +1167,25 @@
xlc_cflags_arch="-qarch=970 -qarch=pwr3"
vmx_path="powerpc64/vmx"
cpu_path="p4 p3-p7" ;;
- power4) gcc_cflags_cpu="-mtune=power4"
+ power4) gcc_cflags_cpu="-mcpu=power4"
xlc_cflags_arch="-qarch=pwr4"
cpu_path="p4 p3-p7" ;;
- power5) gcc_cflags_cpu="-mtune=power5 -mtune=power4"
+ power5) gcc_cflags_cpu="-mcpu=power5 -mcpu=power4"
xlc_cflags_arch="-qarch=pwr5"
cpu_path="p5 p4 p3-p7" ;;
- power6) gcc_cflags_cpu="-mtune=power6"
+ power6) gcc_cflags_cpu="-mcpu=power6"
xlc_cflags_arch="-qarch=pwr6"
cpu_path="p6 p3-p7" ;;
- power7) gcc_cflags_cpu="-mtune=power7 -mtune=power5"
+ power7) gcc_cflags_cpu="-mcpu=power7 -mcpu=power5"
xlc_cflags_arch="-qarch=pwr7 -qarch=pwr5"
cpu_path="p7 p5 p4 p3-p7" ;;
- power8) gcc_cflags_cpu="-mtune=power8 -mtune=power7 -mtune=power5"
+ power8) gcc_cflags_cpu="-mcpu=power8 -mcpu=power7 -mcpu=power5"
xlc_cflags_arch="-qarch=pwr8 -qarch=pwr7 -qarch=pwr5"
cpu_path="p8 p7 p5 p4 p3-p7" ;;
- power9) gcc_cflags_cpu="-mtune=power9 -mtune=power8 -mtune=power7 -mtune=power5"
+ power9) gcc_cflags_cpu="-mcpu=power9 -mcpu=power8 -mcpu=power7 -mcpu=power5"
xlc_cflags_arch="-qarch=pwr9 -qarch=pwr8 -qarch=pwr7 -qarch=pwr5"
cpu_path="p9 p8 p7 p5 p4 p3-p7" ;;
- power10) gcc_cflags_cpu="-mtune=power10 -mtune=power9 -mtune=power8 -mtune=power7 -mtune=power5"
+ power10) gcc_cflags_cpu="-mcpu=power10 -mcpu=power9 -mcpu=power8 -mcpu=power7 -mcpu=power5"
xlc_cflags_arch="-qarch=pwr10 -qarch=pwr9 -qarch=pwr8 -qarch=pwr7 -qarch=pwr5"
cpu_path="p9 p8 p7 p5 p4 p3-p7" ;;
esac
More information about the gmp-commit
mailing list