https://gcc.gnu.org/g:7268d7249b3ca31bf322de99b1d59baf06f83eb3

commit r15-2724-g7268d7249b3ca31bf322de99b1d59baf06f83eb3
Author: Jennifer Schmitz <jschm...@nvidia.com>
Date:   Mon Jul 29 07:59:33 2024 -0700

    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.

Diff:
---
 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 ed1bd2ede7d7..665a333903c9 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"

Reply via email to