Re: [PATCH] AArch64: Use correct cost for shifted halfword load/stores

2025-07-02 Thread Richard Sandiford
Wilco Dijkstra writes: > Since all Armv9 cores support shifted LDRH/STRH, use the correct cost of zero > for these. > > Passes regress, OK for commit? > > gcc: > * config/aarch64/tuning_models/generic_armv9_a.h > (generic_armv9_a_addrcost_table): Use zero cost for himode. OK if th

[PATCH] AArch64: Use correct cost for shifted halfword load/stores

2025-07-01 Thread Wilco Dijkstra
Since all Armv9 cores support shifted LDRH/STRH, use the correct cost of zero for these. Passes regress, OK for commit? gcc: * config/aarch64/tuning_models/generic_armv9_a.h (generic_armv9_a_addrcost_table): Use zero cost for himode. --- diff --git a/gcc/config/aarch64/tuning_mo