]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Remove redundant codes of VLS patterns[NFC]
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Mon, 18 Sep 2023 02:51:56 +0000 (10:51 +0800)
committerLehua Ding <lehua.ding@rivai.ai>
Mon, 18 Sep 2023 03:22:54 +0000 (11:22 +0800)
commit5761dce5d71e3dd013ce4db4c5e9b5e49c6cba23
tree66ecbafa12a42fa3a18e4140709b0a2592814c03
parent55b22a6f630e76a0be913ced8bf1b017eaffd89b
RISC-V: Remove redundant codes of VLS patterns[NFC]

Consider those VLS patterns are the same VLA patterns.
Now extend VI -> V_VLSI and VF -> V_VLSF.
Then remove the redundant codes of VLS patterns.

gcc/ChangeLog:

* config/riscv/autovec-vls.md (<optab><mode>3): Deleted.
(copysign<mode>3): Ditto.
(xorsign<mode>3): Ditto.
(<optab><mode>2): Ditto.
* config/riscv/autovec.md: Extend VLS modes.
gcc/config/riscv/autovec-vls.md
gcc/config/riscv/autovec.md