]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Allow --with-cpu=power10
authorAaron Sawdey <acsawdey@linux.ibm.com>
Tue, 23 Jun 2020 18:12:52 +0000 (13:12 -0500)
committerAaron Sawdey <acsawdey@linux.ibm.com>
Mon, 27 Jul 2020 21:23:59 +0000 (16:23 -0500)
Update config.gcc so that we can use --with-cpu=power10.
Also remove "future" from the 64-bit check as Segher suggests.

* config.gcc: Identify power10 as a 64-bit processor and as valid
for --with-cpu and --with-tune.

(cherry picked from commit 71237df0a0b7f0f10cebedcd114fae7ad2aaebcb)

gcc/config.gcc

index 6a349965c0afced6fedb4b60c270068c0ad04032..ed9697b9d4c300c1e305314df8a45f2c859a3cbb 100644 (file)
@@ -513,7 +513,7 @@ powerpc*-*-*)
        extra_headers="${extra_headers} ppu_intrinsics.h spu2vmx.h vec_types.h si2vmx.h"
        extra_headers="${extra_headers} amo.h"
        case x$with_cpu in
-           xpowerpc64|xdefault64|x6[23]0|x970|xG5|xpower[3456789]|xpower6x|xrs64a|xcell|xa2|xe500mc64|xe5500|xe6500|xfuture)
+           xpowerpc64|xdefault64|x6[23]0|x970|xG5|xpower[3456789]|xpower10|xpower6x|xrs64a|xcell|xa2|xe500mc64|xe5500|xe6500)
                cpu_is_64bit=yes
                ;;
        esac
@@ -4928,7 +4928,7 @@ case "${target}" in
                                eval "with_$which=405"
                                ;;
                        "" | common | native \
-                       | power[3456789] | power5+ | power6x \
+                       | power[3456789] | power10 | power5+ | power6x \
                        | powerpc | powerpc64 | powerpc64le \
                        | rs64 \
                        | 401 | 403 | 405 | 405fp | 440 | 440fp | 464 | 464fp \