public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4844] RISC-V: Remove unnecessary asm check for rounding autovec
@ 2023-10-23  2:43 Pan Li
  0 siblings, 0 replies; only message in thread
From: Pan Li @ 2023-10-23  2:43 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7846d2288750613ce56bf02050732eb78de5c0dc

commit r14-4844-g7846d2288750613ce56bf02050732eb78de5c0dc
Author: Pan Li <pan2.li@intel.com>
Date:   Mon Oct 23 10:34:52 2023 +0800

    RISC-V: Remove unnecessary asm check for rounding autovec
    
    The vsetvl asm check is unnecessary for the rounding function autovec.
    These rounding test cases should focus on the rounding insn sequence.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/riscv/rvv/autovec/unop/bswap16-0.c: Remove the
            vsetvl check.
            * gcc.target/riscv/rvv/autovec/unop/math-ceil-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-ceil-1.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-ceil-2.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-ceil-3.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-floor-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-floor-1.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-floor-2.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-floor-3.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-iceil-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-ifloor-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-irint-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-iround-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-lceil-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-lceil-1.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-lfloor-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-lfloor-1.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-llceil-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-llfloor-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-llrint-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-llround-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-lrint-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-lrint-1.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-lround-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-lround-1.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-nearbyint-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-nearbyint-1.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-nearbyint-2.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-nearbyint-3.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-rint-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-rint-1.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-rint-2.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-rint-3.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-round-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-round-1.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-round-2.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-round-3.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-roundeven-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-roundeven-1.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-roundeven-2.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-roundeven-3.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-trunc-0.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-trunc-1.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-trunc-2.c: Ditto.
            * gcc.target/riscv/rvv/autovec/unop/math-trunc-3.c: Ditto.
    
    Signed-off-by: Pan Li <pan2.li@intel.com>

Diff:
---
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/bswap16-0.c        | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-0.c      | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-1.c      | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-2.c      | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-3.c      | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-0.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-1.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-2.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-3.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-iceil-0.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ifloor-0.c    | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-irint-0.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-iround-0.c    | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lceil-0.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lceil-1.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lfloor-0.c    | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lfloor-1.c    | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llceil-0.c    | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llfloor-0.c   | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llrint-0.c    | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llround-0.c   | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lrint-0.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lrint-1.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lround-0.c    | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lround-1.c    | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-0.c | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-1.c | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-2.c | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-3.c | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-0.c      | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-1.c      | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-2.c      | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-3.c      | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-0.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-1.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-2.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-3.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-0.c | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-1.c | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-2.c | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-3.c | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-0.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-1.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-2.c     | 1 -
 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-3.c     | 1 -
 45 files changed, 45 deletions(-)

diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/bswap16-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/bswap16-0.c
index 10d235a8edf9..605b3565b6bd 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/bswap16-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/bswap16-0.c
@@ -8,7 +8,6 @@
 /*
 ** test_uint16_t___builtin_bswap16:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e16,\s*m1,\s*ta,\s*ma
 **   vsrl\.vi\s+v[0-9]+,\s*v[0-9],\s*8+
 **   vsll\.vi\s+v[0-9]+,\s*v[0-9],\s*8+
 **   vor\.vv\s+v[0-9]+,\s*v[0-9],\s*v[0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-0.c
index 1c53d9b67d35..5660d980030f 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-0.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+3
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e16,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-1.c
index a6d0ac3fc83c..62a089b5927a 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-1.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+3
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-2.c
index d196fc678c4c..1f57e08d151f 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-2.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-2.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+3
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-3.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-3.c
index cd3df49de6df..e74d23034838 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-3.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-3.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+3
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-0.c
index 33b169395bff..06af0f15e02c 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-0.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+2
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e16,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-1.c
index 5c462c424df0..b4913eae2ad8 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-1.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+2
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-2.c
index 6f07add10046..86a83d87e7b5 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-2.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-2.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+2
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-3.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-3.c
index a091ffdab503..a9a5d156ea75 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-3.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-floor-3.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+2
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-iceil-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-iceil-0.c
index 2d4a1d163d1f..b83478683982 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-iceil-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-iceil-0.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+3
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 **   fsrm\s+[atx][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ifloor-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ifloor-0.c
index b9ec415d690b..40c6519aa0da 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ifloor-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ifloor-0.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+2
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 **   fsrm\s+[atx][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-irint-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-irint-0.c
index 3ca2f651763b..3d0c887e63f7 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-irint-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-irint-0.c
@@ -7,7 +7,6 @@
 /*
 ** test_float_int___builtin_irintf:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 */
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-iround-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-iround-0.c
index f32515d1403f..14828e22fd6f 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-iround-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-iround-0.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+4
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 **   fsrm\s+[atx][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lceil-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lceil-0.c
index 3b13a52d5558..5084672e2903 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lceil-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lceil-0.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+3
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 **   fsrm\s+[atx][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lceil-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lceil-1.c
index 5ff5d1d2ab1a..1a51482af141 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lceil-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lceil-1.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+3
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 **   fsrm\s+[atx][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lfloor-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lfloor-0.c
index ac2d1722300e..10bfadc7848f 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lfloor-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lfloor-0.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+2
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 **   fsrm\s+[atx][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lfloor-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lfloor-1.c
index 164e97c17d65..b2eede8d130e 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lfloor-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lfloor-1.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+2
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 **   fsrm\s+[atx][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llceil-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llceil-0.c
index 3480c3ea91d4..ba85728d3e57 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llceil-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llceil-0.c
@@ -11,7 +11,6 @@
 **   ...
 **   fsrmi\s+3
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 **   fsrm\s+[atx][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llfloor-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llfloor-0.c
index 4b10f966015b..2bd82ac46314 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llfloor-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llfloor-0.c
@@ -11,7 +11,6 @@
 **   ...
 **   fsrmi\s+2
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 **   fsrm\s+[atx][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llrint-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llrint-0.c
index 4bf125f8cc86..b919109051d2 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llrint-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llrint-0.c
@@ -8,7 +8,6 @@
 /*
 ** test_double_int64_t___builtin_llrint:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 */
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llround-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llround-0.c
index 4f8b4553a919..2f3a7c60d221 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llround-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llround-0.c
@@ -11,7 +11,6 @@
 **   ...
 **   fsrmi\s+4
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 **   fsrm\s+[atx][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lrint-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lrint-0.c
index a60ef30efa4c..dae0cfa76fd4 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lrint-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lrint-0.c
@@ -7,7 +7,6 @@
 /*
 ** test_double_long___builtin_lrint:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 */
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lrint-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lrint-1.c
index 57e92ffb0e6b..426a6439530a 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lrint-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lrint-1.c
@@ -7,7 +7,6 @@
 /*
 ** test_float_long___builtin_lrintf:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 */
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lround-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lround-0.c
index 32b7348e7adf..242074e6794e 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lround-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lround-0.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+4
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 **   fsrm\s+[atx][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lround-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lround-1.c
index a4d6fcfb0dc0..3d95e224c0b9 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lround-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lround-1.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+4
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*ma
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
 **   ...
 **   fsrm\s+[atx][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-0.c
index f67b22ac02d2..85d5e0acab2d 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-0.c
@@ -7,7 +7,6 @@
 /*
 ** test__Float16___builtin_nearbyintf16:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e16,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   frflags\s+[axt][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-1.c
index 936398634120..9697aed3bf17 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-1.c
@@ -7,7 +7,6 @@
 /*
 ** test_float___builtin_nearbyintf:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   frflags\s+[axt][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-2.c
index d31de739d2d0..00402ddee708 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-2.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-2.c
@@ -7,7 +7,6 @@
 /*
 ** test_double___builtin_nearbyint:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   frflags\s+[axt][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-3.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-3.c
index 4fd99505b403..6a8a276cc457 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-3.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-nearbyint-3.c
@@ -7,7 +7,6 @@
 /*
 ** test_float___builtin_nearbyintf:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   frflags\s+[axt][0-9]+
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-0.c
index 0d44b9844ddc..d57f9de82fc1 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-0.c
@@ -7,7 +7,6 @@
 /*
 ** test__Float16___builtin_rintf16:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e16,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-1.c
index 2ce122af677c..4a796739ff4c 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-1.c
@@ -7,7 +7,6 @@
 /*
 ** test_float___builtin_rintf:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-2.c
index e3b911b45c4c..a7d75501e1ad 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-2.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-2.c
@@ -7,7 +7,6 @@
 /*
 ** test_double___builtin_rint:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-3.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-3.c
index 541c42c2ec7e..33e628712382 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-3.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-rint-3.c
@@ -7,7 +7,6 @@
 /*
 ** test_float___builtin_rintf:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-0.c
index 06de57bf7e2d..18770df99cce 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-0.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+4
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e16,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-1.c
index ee51bcd820be..d50c293ca26e 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-1.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+4
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-2.c
index d78f0583e414..28a928debd51 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-2.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-2.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+4
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-3.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-3.c
index 98d14673e209..953ed60eac12 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-3.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-round-3.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+4
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-0.c
index ab65e372f0e3..98d1171065cf 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-0.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+0
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e16,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-1.c
index fac85ed08959..5c0217703523 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-1.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+0
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-2.c
index 074f1b4a1ae7..7a14a7d40340 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-2.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-2.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+0
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-3.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-3.c
index c95e8eca0075..6092fdcd8dc5 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-3.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-roundeven-3.c
@@ -10,7 +10,6 @@
 **   ...
 **   fsrmi\s+0
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-0.c
index e3046341b99a..ea135cd8965a 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-0.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-0.c
@@ -7,7 +7,6 @@
 /*
 ** test__Float16___builtin_truncf16:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e16,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.rtz\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-1.c
index 8100419d22fb..e4ef82dac19b 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-1.c
@@ -7,7 +7,6 @@
 /*
 ** test_float___builtin_truncf:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.rtz\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-2.c
index 40551f559a75..7d17a11bbaf5 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-2.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-2.c
@@ -7,7 +7,6 @@
 /*
 ** test_double___builtin_trunc:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e64,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.rtz\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-3.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-3.c
index bb113fd4f2af..66c19463e08e 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-3.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-trunc-3.c
@@ -7,7 +7,6 @@
 /*
 ** test_float___builtin_truncf:
 **   ...
-**   vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*m1,\s*ta,\s*mu
 **   vfabs\.v\s+v[0-9]+,\s*v[0-9]+
 **   vmflt\.vf\s+v0,\s*v[0-9]+,\s*[fa]+[0-9]+
 **   vfcvt\.rtz\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+,\s*v0\.t

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-23  2:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23  2:43 [gcc r14-4844] RISC-V: Remove unnecessary asm check for rounding autovec Pan Li

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).