From: David Edelsohn Date: Wed, 17 Nov 2021 18:26:36 +0000 (-0500) Subject: aix: detect power10 processor. X-Git-Tag: basepoints/gcc-13~2942 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3dbd2e14020d5a4f3401fa60dd5792b99fae108;p=thirdparty%2Fgcc.git aix: detect power10 processor. For -mcpu=native, GCC needs to detect the processor. This patch adds the processor value for Power10. Suggested by Kevin Alder. * config/rs6000/driver-rs6000.c (detect_processor_aix): Add power10. --- diff --git a/gcc/config/rs6000/driver-rs6000.c b/gcc/config/rs6000/driver-rs6000.c index e23c445b198f..4de373da95a2 100644 --- a/gcc/config/rs6000/driver-rs6000.c +++ b/gcc/config/rs6000/driver-rs6000.c @@ -418,6 +418,9 @@ detect_processor_aix (void) case 0x20000: return "power9"; + case 0x40000: + return "power10"; + default: return "powerpc"; }