Skip to content

Commit c042f41

Browse files
committed
8350202: Tune for Power10 CPUs on Linux ppc64le
Backport-of: e1d0a9c
1 parent 1315bbb commit c042f41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make/autoconf/flags-cflags.m4

+2-2
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
743743
elif test "x$FLAGS_CPU" = xppc64le; then
744744
# Little endian machine uses ELFv2 ABI.
745745
# Use Power8, this is the first CPU to support PPC64 LE with ELFv2 ABI.
746-
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=power8 -mtune=power8"
746+
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=power8 -mtune=power10"
747747
fi
748748
elif test "x$FLAGS_CPU" = xs390x; then
749749
$1_CFLAGS_CPU="-mbackchain -march=z10"
@@ -764,7 +764,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
764764
if test "x$FLAGS_CPU" = xppc64le; then
765765
# Little endian machine uses ELFv2 ABI.
766766
# Use Power8, this is the first CPU to support PPC64 LE with ELFv2 ABI.
767-
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=power8 -mtune=power8"
767+
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=power8 -mtune=power10"
768768
fi
769769
fi
770770
if test "x$OPENJDK_TARGET_OS" = xaix; then

0 commit comments

Comments
 (0)