diff options
author | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2025-06-26 15:41:06 +0000 |
---|---|---|
committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2025-07-31 14:23:46 +0000 |
commit | 731649066f0fd2e2b2fbfd8668e001c3e91290d6 (patch) | |
tree | 0544e59a332e53e684276552eb9e8280d9bbc1be /gcc | |
parent | a4b5618782658ebe420c69ad939275d16ce76121 (diff) | |
download | gcc-731649066f0fd2e2b2fbfd8668e001c3e91290d6.zip gcc-731649066f0fd2e2b2fbfd8668e001c3e91290d6.tar.gz gcc-731649066f0fd2e2b2fbfd8668e001c3e91290d6.tar.bz2 |
AArch64: Use correct cost for shifted halfword load/stores
Since all Armv9 cores support shifted LDRH/STRH, use the correct cost of zero
for these.
gcc:
* config/aarch64/tuning_models/generic_armv9_a.h
(generic_armv9_a_addrcost_table): Use zero cost for himode.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/aarch64/tuning_models/generic_armv9_a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/aarch64/tuning_models/generic_armv9_a.h b/gcc/config/aarch64/tuning_models/generic_armv9_a.h index f76a250..9eb1a20 100644 --- a/gcc/config/aarch64/tuning_models/generic_armv9_a.h +++ b/gcc/config/aarch64/tuning_models/generic_armv9_a.h @@ -26,7 +26,7 @@ static const struct cpu_addrcost_table generic_armv9_a_addrcost_table = { { - 1, /* hi */ + 0, /* hi */ 0, /* si */ 0, /* di */ 1, /* ti */ |