diff options
author | Jennifer Schmitz <jschmitz@nvidia.com> | 2024-07-29 07:59:33 -0700 |
---|---|---|
committer | Jennifer Schmitz <jschmitz@nvidia.com> | 2024-08-05 14:58:21 +0200 |
commit | 7268d7249b3ca31bf322de99b1d59baf06f83eb3 (patch) | |
tree | 2fcf3dc88e892841f92b0233b6acdc4c591aa157 /gcc | |
parent | bb30fdd3436987aee6a22610e1d22b091c7ded6e (diff) | |
download | gcc-7268d7249b3ca31bf322de99b1d59baf06f83eb3.zip gcc-7268d7249b3ca31bf322de99b1d59baf06f83eb3.tar.gz gcc-7268d7249b3ca31bf322de99b1d59baf06f83eb3.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/aarch64/aarch64.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index ed1bd2e..665a333 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -5408,7 +5408,7 @@ (const_int 0)))] "" "tst\\t%<w>0, <short_mask>" - [(set_attr "type" "alus_imm")] + [(set_attr "type" "logics_imm")] ) (define_insn "*ands<GPI:mode>_compare0" |