From: Ju-Zhe Zhong Date: Wed, 14 Dec 2022 11:36:41 +0000 (+0800) Subject: RISC-V: Remove unit-stride store from ta attribute X-Git-Tag: basepoints/gcc-14~2415 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8577356f4b8a2c9a397390339006eca8f6efa14d;p=thirdparty%2Fgcc.git RISC-V: Remove unit-stride store from ta attribute Since store instructions doesn't care about tail policy, we remove vste from "ta" attribute. Hence, we could have more fusion chances and better optimization. gcc/ChangeLog: * config/riscv/vector.md: Remove vste. --- diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md index 985373838bb0..52ca6b3d25cd 100644 --- a/gcc/config/riscv/vector.md +++ b/gcc/config/riscv/vector.md @@ -241,7 +241,7 @@ ;; The tail policy op value. (define_attr "ta" "" - (cond [(eq_attr "type" "vlde,vste,vimov,vfmov,vlds") + (cond [(eq_attr "type" "vlde,vimov,vfmov,vlds") (symbol_ref "riscv_vector::get_ta(operands[5])")] (const_int INVALID_ATTRIBUTE)))