aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2025-01-16 19:25:26 +0000
committerTamar Christina <tamar.christina@arm.com>2025-01-16 19:25:26 +0000
commit1ff85affe46623fe1a970de95887df22f4da9d16 (patch)
tree668f47284a241e5efddf653df4d677786cd20fda /libgo
parent773beeaafb0ea31bd4e308b64781731d64b571ce (diff)
downloadgcc-1ff85affe46623fe1a970de95887df22f4da9d16.zip
gcc-1ff85affe46623fe1a970de95887df22f4da9d16.tar.gz
gcc-1ff85affe46623fe1a970de95887df22f4da9d16.tar.bz2
AArch64: have -mcpu=native detect architecture extensions for unknown non-homogenous systems [PR113257]
in g:e91a17fe39c39e98cebe6e1cbc8064ee6846a3a7 we added the ability for -mcpu=native on unknown CPUs to still enable architecture extensions. This has worked great but was only added for homogenous systems. However the same thing works for big.LITTLE as in such system the cores must have the same extensions otherwise it doesn't fundamentally work. i.e. task migration from one core to the other wouldn't work. This extends the same handling to non-homogenous systems. gcc/ChangeLog: PR target/113257 * config/aarch64/driver-aarch64.cc (get_cpu_from_id, DEFAULT_CPU): New. (host_detect_local_cpu): Use it. gcc/testsuite/ChangeLog: PR target/113257 * gcc.target/aarch64/cpunative/info_34: New test. * gcc.target/aarch64/cpunative/native_cpu_34.c: New test. * gcc.target/aarch64/cpunative/info_35: New test. * gcc.target/aarch64/cpunative/native_cpu_35.c: New test. Co-authored-by: Richard Sandiford <richard.sandiford@arm.com>
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions