]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Add available vector size for RVV
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Mon, 9 Oct 2023 23:23:26 +0000 (07:23 +0800)
committerPan Li <pan2.li@intel.com>
Tue, 10 Oct 2023 03:22:56 +0000 (11:22 +0800)
commit4ecb9b03d9a058925d5a5bc43bdc3a505a587b0c
tree126713353871778c0be9cb85e4b395e1a9f50686
parentfb124f2a23e92b08556984a50a4b2f367ed04d90
RISC-V: Add available vector size for RVV

For RVV, we have VLS modes enable according to TARGET_MIN_VLEN
from M1 to M8.

For example, when TARGET_MIN_VLEN = 128 bits, we enable
128/256/512/1024 bits VLS modes.

This patch fixes following FAIL:
FAIL: gcc.dg/vect/bb-slp-subgroups-2.c -flto -ffat-lto-objects  scan-tree-dump-times slp2 "optimized: basic block" 2
FAIL: gcc.dg/vect/bb-slp-subgroups-2.c scan-tree-dump-times slp2 "optimized: basic block" 2

gcc/testsuite/ChangeLog:

* lib/target-supports.exp: Add 256/512/1024
gcc/testsuite/lib/target-supports.exp