]> git.ipfire.org Git - thirdparty/gcc.git/commit
AArch64: Set instruction attribute of TST to logics_imm
authorJennifer Schmitz <jschmitz@nvidia.com>
Mon, 29 Jul 2024 14:59:33 +0000 (07:59 -0700)
committerJennifer Schmitz <jschmitz@nvidia.com>
Mon, 5 Aug 2024 12:58:21 +0000 (14:58 +0200)
commit7268d7249b3ca31bf322de99b1d59baf06f83eb3
tree2fcf3dc88e892841f92b0233b6acdc4c591aa157
parentbb30fdd3436987aee6a22610e1d22b091c7ded6e
AArch64: Set instruction attribute of TST to logics_imm

As suggested in
https://gcc.gnu.org/pipermail/gcc-patches/2024-July/658249.html,
this patch changes the instruction attribute of "*and<mode>_compare0" (TST) from
alus_imm to logics_imm.

The patch was bootstrapped and regtested on aarch64-linux-gnu, no regression.
OK for mainline?

Signed-off-by: Jennifer Schmitz <jschmitz@nvidia.com>
gcc/

* config/aarch64/aarch64.md (*and<mode>_compare0): Change attribute.
gcc/config/aarch64/aarch64.md