From 7268d7249b3ca31bf322de99b1d59baf06f83eb3 Mon Sep 17 00:00:00 2001 From: Jennifer Schmitz 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_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 gcc/ * config/aarch64/aarch64.md (*and_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 ed1bd2ede7d..665a333903c 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -5408,7 +5408,7 @@ (const_int 0)))] "" "tst\\t%0, " - [(set_attr "type" "alus_imm")] + [(set_attr "type" "logics_imm")] ) (define_insn "*ands_compare0" -- 2.47.2