[gcc r15-10785] testsuite: riscv: drop -mcpu=xt-c920 tests from gcc-15
Alexandre Oliva
aoliva@gcc.gnu.org
Thu Feb 5 02:25:28 GMT 2026
https://gcc.gnu.org/g:f30695c5b57f36ea5b7dd98b02719badd9d8984d
commit r15-10785-gf30695c5b57f36ea5b7dd98b02719badd9d8984d
Author: Alexandre Oliva <oliva@adacore.com>
Date: Wed Feb 4 23:06:40 2026 -0300
testsuite: riscv: drop -mcpu=xt-c920 tests from gcc-15
Testcases were backport to gcc-15 that require support for a cpu that
is not supported by gcc-15. Drop them.
for gcc/testsuite/ChangeLog
PR target/122051
PR target/120642
* gcc.target/riscv/pr122051.c: Remove.
* gcc.target/riscv/rvv/xtheadvector/pr120642.c: Remove.
Diff:
---
gcc/testsuite/gcc.target/riscv/pr122051.c | 24 ----------------------
.../gcc.target/riscv/rvv/xtheadvector/pr120642.c | 4 ----
2 files changed, 28 deletions(-)
diff --git a/gcc/testsuite/gcc.target/riscv/pr122051.c b/gcc/testsuite/gcc.target/riscv/pr122051.c
deleted file mode 100644
index c2f4b877d5ea..000000000000
--- a/gcc/testsuite/gcc.target/riscv/pr122051.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* { dg-do compile { target int128 } } */
-/* { dg-additional-options "-mrvv-vector-bits=zvl -mcpu=xt-c920 -w" } */
-
-typedef __attribute__((__vector_size__(4))) char B;
-typedef __attribute__((__vector_size__(16))) long V;
-typedef __attribute__((__vector_size__(32))) double W;
-typedef __attribute__((__vector_size__(32))) char U;
-unsigned u;
-B o;
-char *p;
-int q;
-V v;
-W w;
-
-void
-foo(__int128, __int128, __int128, __int128, B a, B b, B c, B d, B e, B f, B g, B h) {
- do {
- w -= q;
- v ^= u;
- } while (__builtin_memcmp(p, 1 + p, 7));
- o = ((U)w)[0] + c + d + e + f + g + h + a + b;
-}
-
-
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/xtheadvector/pr120642.c b/gcc/testsuite/gcc.target/riscv/rvv/xtheadvector/pr120642.c
deleted file mode 100644
index 1a72580ad605..000000000000
--- a/gcc/testsuite/gcc.target/riscv/rvv/xtheadvector/pr120642.c
+++ /dev/null
@@ -1,4 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O -mcpu=xt-c920 -mrvv-vector-bits=zvl" } */
-int __attribute__((__vector_size__(4 * sizeof(int)))) v;
-void foo() { v /= 3; }
More information about the Gcc-cvs
mailing list