public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/riscv/heads/gcc-13-with-riscv-opts)] RISC-V: Add available vector size for RVV
@ 2023-10-12 21:59 Jeff Law
0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2023-10-12 21:59 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1128d5e4104555d315097136eef04c92fcd1fac7
commit 1128d5e4104555d315097136eef04c92fcd1fac7
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date: Tue Oct 10 07:23:26 2023 +0800
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
(cherry picked from commit 4ecb9b03d9a058925d5a5bc43bdc3a505a587b0c)
Diff:
---
gcc/testsuite/lib/target-supports.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 3ec7ce9cd91..ecd108ffdd4 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -8791,7 +8791,7 @@ proc available_vector_sizes { } {
lappend result 4096 2048 1024 512 256 128 64 32 16 8 4 2
} elseif { [istarget riscv*-*-*] } {
if { [check_effective_target_riscv_v] } {
- lappend result 0 32 64 128
+ lappend result 0 32 64 128 256 512 1024
}
lappend result 128
} else {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-12 21:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-12 21:59 [gcc(refs/vendors/riscv/heads/gcc-13-with-riscv-opts)] RISC-V: Add available vector size for RVV Jeff Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).