Jennifer Schmitz <jschm...@nvidia.com> writes: > 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 <jschm...@nvidia.com> > > gcc/ > > * config/aarch64/aarch64.md (*and<mode>_compare0): Change attribute.
OK, thanks. Richard > > From e643211edd212276ddeef87136932da4aa14837c Mon Sep 17 00:00:00 2001 > From: Jennifer Schmitz <jschm...@nvidia.com> > Date: Mon, 29 Jul 2024 07:59:33 -0700 > Subject: [PATCH] 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 <jschm...@nvidia.com> > > gcc/ > > * config/aarch64/aarch64.md (*and<mode>_compare0): Change attribute. > --- > gcc/config/aarch64/aarch64.md | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md > index ed29127dafb..734a21268dc 100644 > --- a/gcc/config/aarch64/aarch64.md > +++ b/gcc/config/aarch64/aarch64.md > @@ -5398,7 +5398,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"