aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-08-05 21:17:33 +0000
committerRichard Henderson <richard.henderson@linaro.org>2025-08-11 23:25:09 +0000
commited101b98e25314a5a544297e7224d9572b489804 (patch)
treedefcaac3c9c9f60724571a46bdac94f760fb659a /gcc/rust
parent75097ad09e8169912d8640f49ac0379e8a713215 (diff)
downloadgcc-ed101b98e25314a5a544297e7224d9572b489804.zip
gcc-ed101b98e25314a5a544297e7224d9572b489804.tar.gz
gcc-ed101b98e25314a5a544297e7224d9572b489804.tar.bz2
aarch64: Rename and improve aarch64_split_imm24
Two of the three uses of aarch64_imm24 included the important follow-up tests vs aarch64_move_imm and aarch64_plus_operand. Lack of the exclusion within aarch64_if_then_else_costs produced incorrect costing. Since aarch64_split_imm24 has already matched a non-negative CONST_INT, drill down from aarch64_plus_operand to aarch64_uimm12_shift. gcc: * config/aarch64/predicates.md (aarch64_split_imm24): Rename from aarch64_imm24; exclude aarch64_move_imm and aarch64_uimm12_shift. * config/aarch64/aarch64.md (*aarch64_bcond_wide_imm<GPI>): Update for aarch64_split_imm24. (*compare_cstore<GPI>_insn): Likewise. * config/aarch64/aarch64.cc (aarch64_if_then_else_costs): Likewise.
Diffstat (limited to 'gcc/rust')
0 files changed, 0 insertions, 0 deletions