aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-array.cc
diff options
context:
space:
mode:
authorGuo Jie <guojie@loongson.cn>2024-12-30 10:37:57 +0800
committerLulu Cheng <chenglulu@loongson.cn>2025-01-02 09:29:02 +0800
commit18d3b87b17fd6157e3aff64099a5bf84ea5f82f3 (patch)
treec04a3207f12b0d19fa96cbc5835e4ba93ea1de62 /gcc/fortran/trans-array.cc
parent693a5e6ae83f8606a5af674e18166060cd6a2e0c (diff)
downloadgcc-18d3b87b17fd6157e3aff64099a5bf84ea5f82f3.zip
gcc-18d3b87b17fd6157e3aff64099a5bf84ea5f82f3.tar.gz
gcc-18d3b87b17fd6157e3aff64099a5bf84ea5f82f3.tar.bz2
LoongArch: Fix bugs in insn patterns lasx_xvrepl128vei_b/h/w/d_internal
There are two aspects that affect the matching of instruction templates: 1. vec_duplicate is redundant in the following operations. set (match_operand:V4DI ...) (vec_duplicate:V4DI (vec_select:V4DI ...)) 2. The range of values for testing predicate const_8_to_15_operand and const_16_to_31_operand should be [8, 15] and [16, 31] respectively. However, there is currently no suitable testcase to verify. gcc/ChangeLog: * config/loongarch/lasx.md: Remove useless vec_select. * config/loongarch/predicates.md: Correct error predicate.
Diffstat (limited to 'gcc/fortran/trans-array.cc')
0 files changed, 0 insertions, 0 deletions