RISC-V: Move vector-abi testcases into rvv/base folder
Checks
Commit Message
Resolves failures like this on rv32gcv linux:
compiler exited with status 1
output is:
In file included from /tc-baseline/build-linux-gcv/sysroot/usr/include/features.h:515,
from /tc-baseline/build-linux-gcv/sysroot/usr/include/bits/libc-header-start.h:33,
from /tc-baseline/build-linux-gcv/sysroot/usr/include/stdint.h:26,
from /tc-baseline/build-linux-gcv/lib/gcc/riscv32-unknown-linux-gnu/14.0.0/include/stdint.h:9,
from /tc-baseline/build-linux-gcv/build-gcc-linux-stage2/gcc/include/stdint.h:9,
from /tc-baseline/build-linux-gcv/build-gcc-linux-stage2/gcc/include/riscv_vector.h:28,
from /tc-baseline/gcc/gcc/testsuite/gcc.target/riscv/vector-abi-1.c:4:
/tc-baseline/build-linux-gcv/sysroot/usr/include/gnu/stubs.h:17:11: fatal error: gnu/stubs-lp64d.h: No such file or directory
compilation terminated.
Tested using:
rv{32/64}{gc/gcv} newlib
rv{32/64}gcv linux
gcc/testsuite/ChangeLog:
* gcc.target/riscv/vector-abi-1.c: Moved to...
* gcc.target/riscv/rvv/base/vector-abi-1.c: ...here.
* gcc.target/riscv/vector-abi-2.c: Moved to...
* gcc.target/riscv/rvv/base/vector-abi-2.c: ...here.
* gcc.target/riscv/vector-abi-3.c: Moved to...
* gcc.target/riscv/rvv/base/vector-abi-3.c: ...here.
* gcc.target/riscv/vector-abi-4.c: Moved to...
* gcc.target/riscv/rvv/base/vector-abi-4.c: ...here.
* gcc.target/riscv/vector-abi-5.c: Moved to...
* gcc.target/riscv/rvv/base/vector-abi-5.c: ...here.
* gcc.target/riscv/vector-abi-6.c: Moved to...
* gcc.target/riscv/rvv/base/vector-abi-6.c: ...here.
* gcc.target/riscv/vector-abi-7.c: Moved to...
* gcc.target/riscv/rvv/base/vector-abi-7.c: ...here.
* gcc.target/riscv/vector-abi-8.c: Moved to...
* gcc.target/riscv/rvv/base/vector-abi-8.c: ...here.
* gcc.target/riscv/vector-abi-9.c: Moved to...
* gcc.target/riscv/rvv/base/vector-abi-9.c: ...here.
Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
---
gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-1.c | 0
gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-2.c | 0
gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-3.c | 0
gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-4.c | 0
gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-5.c | 0
gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-6.c | 0
gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-7.c | 0
gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-8.c | 0
gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-9.c | 0
9 files changed, 0 insertions(+), 0 deletions(-)
rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-1.c (100%)
rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-2.c (100%)
rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-3.c (100%)
rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-4.c (100%)
rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-5.c (100%)
rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-6.c (100%)
rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-7.c (100%)
rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-8.c (100%)
rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-9.c (100%)
--
2.34.1
Comments
On Thu, 24 Aug 2023 11:04:59 PDT (-0700), Patrick O'Neill wrote:
> Resolves failures like this on rv32gcv linux:
> compiler exited with status 1
> output is:
> In file included from /tc-baseline/build-linux-gcv/sysroot/usr/include/features.h:515,
> from /tc-baseline/build-linux-gcv/sysroot/usr/include/bits/libc-header-start.h:33,
> from /tc-baseline/build-linux-gcv/sysroot/usr/include/stdint.h:26,
> from /tc-baseline/build-linux-gcv/lib/gcc/riscv32-unknown-linux-gnu/14.0.0/include/stdint.h:9,
> from /tc-baseline/build-linux-gcv/build-gcc-linux-stage2/gcc/include/stdint.h:9,
> from /tc-baseline/build-linux-gcv/build-gcc-linux-stage2/gcc/include/riscv_vector.h:28,
> from /tc-baseline/gcc/gcc/testsuite/gcc.target/riscv/vector-abi-1.c:4:
> /tc-baseline/build-linux-gcv/sysroot/usr/include/gnu/stubs.h:17:11: fatal error: gnu/stubs-lp64d.h: No such file or directory
> compilation terminated.
>
> Tested using:
> rv{32/64}{gc/gcv} newlib
> rv{32/64}gcv linux
>
> gcc/testsuite/ChangeLog:
>
> * gcc.target/riscv/vector-abi-1.c: Moved to...
> * gcc.target/riscv/rvv/base/vector-abi-1.c: ...here.
> * gcc.target/riscv/vector-abi-2.c: Moved to...
> * gcc.target/riscv/rvv/base/vector-abi-2.c: ...here.
> * gcc.target/riscv/vector-abi-3.c: Moved to...
> * gcc.target/riscv/rvv/base/vector-abi-3.c: ...here.
> * gcc.target/riscv/vector-abi-4.c: Moved to...
> * gcc.target/riscv/rvv/base/vector-abi-4.c: ...here.
> * gcc.target/riscv/vector-abi-5.c: Moved to...
> * gcc.target/riscv/rvv/base/vector-abi-5.c: ...here.
> * gcc.target/riscv/vector-abi-6.c: Moved to...
> * gcc.target/riscv/rvv/base/vector-abi-6.c: ...here.
> * gcc.target/riscv/vector-abi-7.c: Moved to...
> * gcc.target/riscv/rvv/base/vector-abi-7.c: ...here.
> * gcc.target/riscv/vector-abi-8.c: Moved to...
> * gcc.target/riscv/rvv/base/vector-abi-8.c: ...here.
> * gcc.target/riscv/vector-abi-9.c: Moved to...
> * gcc.target/riscv/rvv/base/vector-abi-9.c: ...here.
>
> Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
> ---
> gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-1.c | 0
> gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-2.c | 0
> gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-3.c | 0
> gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-4.c | 0
> gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-5.c | 0
> gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-6.c | 0
> gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-7.c | 0
> gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-8.c | 0
> gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-9.c | 0
> 9 files changed, 0 insertions(+), 0 deletions(-)
> rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-1.c (100%)
> rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-2.c (100%)
> rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-3.c (100%)
> rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-4.c (100%)
> rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-5.c (100%)
> rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-6.c (100%)
> rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-7.c (100%)
> rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-8.c (100%)
> rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-9.c (100%)
>
> diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-1.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/vector-abi-1.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-1.c
> diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-2.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/vector-abi-2.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-2.c
> diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-3.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-3.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/vector-abi-3.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-3.c
> diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-4.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-4.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/vector-abi-4.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-4.c
> diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-5.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-5.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/vector-abi-5.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-5.c
> diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-6.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-6.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/vector-abi-6.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-6.c
> diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-7.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-7.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/vector-abi-7.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-7.c
> diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-8.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-8.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/vector-abi-8.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-8.c
> diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-9.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/vector-abi-9.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
I think Joern is still looking into fixing up all these explicit ISA
strings in the tests, but I don't see any reason to block fixing failing
tests on that.
Thanks!
On 8/24/23 11:28, Palmer Dabbelt wrote:
> Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
>
> I think Joern is still looking into fixing up all these explicit ISA
> strings in the tests, but I don't see any reason to block fixing
> failing tests on that.
>
> Thanks!
Committed
Patrick
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/vector-abi-1.c
rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-1.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/vector-abi-2.c
rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-2.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/vector-abi-3.c
rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-3.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/vector-abi-4.c
rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-4.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/vector-abi-5.c
rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-5.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/vector-abi-6.c
rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-6.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/vector-abi-7.c
rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-7.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/vector-abi-8.c
rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-8.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/vector-abi-9.c
rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c