public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-5694] RISC-V: testsuite: Do not set default arch for RVV.
@ 2023-11-21 20:10 Robin Dapp
0 siblings, 0 replies; only message in thread
From: Robin Dapp @ 2023-11-21 20:10 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:4efa929a0254b093cc31386cf7fb7c91091ca3cd
commit r14-5694-g4efa929a0254b093cc31386cf7fb7c91091ca3cd
Author: Robin Dapp <rdapp@ventanamicro.com>
Date: Mon Nov 20 14:25:03 2023 +0100
RISC-V: testsuite: Do not set default arch for RVV.
This removes setting of the default arch and abi in the testsuite. We
should directly use what the target provides.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/rvv.exp: Remove -march and -mabi from
default CFLAGS.
Diff:
---
gcc/testsuite/gcc.target/riscv/rvv/rvv.exp | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
index 237a20e11aa..1d5041b0c8c 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
+++ b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
@@ -30,18 +30,11 @@ if ![info exists DEFAULT_CFLAGS] then {
set DEFAULT_CFLAGS " -ansi -pedantic-errors"
}
-set gcc_march "rv64gcv_zfh"
-set gcc_mabi "lp64d"
-if [istarget riscv32-*-*] then {
- set gcc_march "rv32gcv_zfh"
- set gcc_mabi "ilp32d"
-}
-
# Initialize `dg'.
dg-init
# Main loop.
-set CFLAGS "$DEFAULT_CFLAGS -march=$gcc_march -mabi=$gcc_mabi -O3"
+set CFLAGS "$DEFAULT_CFLAGS -O3"
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/base/*.\[cS\]]] \
"" $CFLAGS
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/vsetvl/*.\[cS\]]] \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-21 20:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-21 20:10 [gcc r14-5694] RISC-V: testsuite: Do not set default arch for RVV Robin Dapp
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).