aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.cc
diff options
context:
space:
mode:
authorJiahao Xu <xujiahao@loongson.cn>2024-01-05 15:37:13 +0800
committerLulu Cheng <chenglulu@loongson.cn>2024-01-06 15:50:20 +0800
commit7b158e036a95b1ab40793dd53bed7dbd770ffdaf (patch)
tree6616e276777c61c055b3a034ac4b9bf7c808bac6 /gcc/tree-vect-loop.cc
parent6cf47447f6fba84a17864fc7a19a532a62b6e736 (diff)
downloadgcc-7b158e036a95b1ab40793dd53bed7dbd770ffdaf.zip
gcc-7b158e036a95b1ab40793dd53bed7dbd770ffdaf.tar.gz
gcc-7b158e036a95b1ab40793dd53bed7dbd770ffdaf.tar.bz2
LoongArch: Improve lasx_xvpermi_q_<LASX:mode> insn pattern
For instruction xvpermi.q, unused bits in operands[3] need be set to 0 to avoid causing undefined behavior on LA464. gcc/ChangeLog: * config/loongarch/lasx.md: Set the unused bits in operand[3] to 0. gcc/testsuite/ChangeLog: * gcc.target/loongarch/vector/lasx/lasx-xvpremi.c: Removed. * gcc.target/loongarch/vector/lasx/lasx-xvpermi_q.c: New test.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions