aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2022-12-19 17:28:25 +0800
committerKito Cheng <kito.cheng@sifive.com>2022-12-19 17:39:33 +0800
commitb346e77f4d7b482df78f119819b1e06a544ef515 (patch)
tree21c3821d832d39f8e7a950c7b58ddd8bbde4a71e
parent97a8e88cd7d22562c0ea4f73687d3c93c21e12fb (diff)
downloadgcc-b346e77f4d7b482df78f119819b1e06a544ef515.zip
gcc-b346e77f4d7b482df78f119819b1e06a544ef515.tar.gz
gcc-b346e77f4d7b482df78f119819b1e06a544ef515.tar.bz2
RISC-V: Fix vwrite_csr.c and vread_csr.c
gcc/testsuite: * gcc.target/riscv/rvv/base/vread_csr.c: Use specific option instead. * gcc.target/riscv/rvv/base/vwrite_csr.c: Ditto.
-rw-r--r--gcc/testsuite/gcc.target/riscv/rvv/base/vread_csr.c3
-rw-r--r--gcc/testsuite/gcc.target/riscv/rvv/base/vwrite_csr.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vread_csr.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vread_csr.c
index 69c9c1f..ac5484f 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/base/vread_csr.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vread_csr.c
@@ -1,6 +1,5 @@
/* { dg-do compile } */
-/* { dg-additional-options "-O3" } */
-/* { dg-skip-if "test intrinsic using rvv" { *-*-* } { "*" } { "-march=rv*v*zfh*" } } */
+/* { dg-options "-O3 -march=rv32gcv -mabi=ilp32d" } */
#include "riscv_vector.h"
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vwrite_csr.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vwrite_csr.c
index f9b4e88..830ddb9 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/base/vwrite_csr.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vwrite_csr.c
@@ -1,6 +1,5 @@
/* { dg-do compile } */
-/* { dg-additional-options "-O3" } */
-/* { dg-skip-if "test intrinsic using rvv" { *-*-* } { "*" } { "-march=rv*v*zfh*" } } */
+/* { dg-options "-O3 -march=rv32gcv -mabi=ilp32d" } */
#include "riscv_vector.h"