diff options
author | Pan Li <pan2.li@intel.com> | 2023-10-23 13:55:29 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2023-10-23 14:28:12 +0800 |
commit | c2d41cdfeadb82d921b01c0e104d83f47e2262a2 (patch) | |
tree | 83aad975167c74151d53ef86b6aa78ffb90248fa | |
parent | 7846d2288750613ce56bf02050732eb78de5c0dc (diff) | |
download | gcc-c2d41cdfeadb82d921b01c0e104d83f47e2262a2.zip gcc-c2d41cdfeadb82d921b01c0e104d83f47e2262a2.tar.gz gcc-c2d41cdfeadb82d921b01c0e104d83f47e2262a2.tar.bz2 |
RISC-V: Remove unnecessary asm check for binop constraint
The vsetvl asm check is unnecessary for the binop constraint. We
should be focus for constrait and leave the vsetvl test to the
vsetvl pass.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/base/binop_vv_constraint-1.c: Remove the
vsetvl asm check from func body.
* gcc.target/riscv/rvv/base/binop_vx_constraint-1.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-10.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-11.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-12.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-129.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-13.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-130.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-131.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-133.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-134.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-135.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-14.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-15.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-153.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-154.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-155.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-158.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-16.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-17.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-171.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-172.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-173.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-174.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-18.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-19.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-2.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-20.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-21.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-22.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-23.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-24.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-25.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-26.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-27.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-28.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-29.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-3.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-30.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-31.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-32.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-33.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-34.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-35.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-36.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-37.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-38.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-39.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-4.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-40.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-41.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-42.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-43.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-44.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-5.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-6.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-7.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-8.c: Ditto.
* gcc.target/riscv/rvv/base/binop_vx_constraint-9.c: Ditto.
* gcc.target/riscv/rvv/base/shift_vx_constraint-1.c: Ditto.
* gcc.target/riscv/rvv/base/ternop_vv_constraint-1.c: Ditto.
* gcc.target/riscv/rvv/base/ternop_vv_constraint-2.c: Ditto.
* gcc.target/riscv/rvv/base/ternop_vv_constraint-3.c: Ditto.
* gcc.target/riscv/rvv/base/ternop_vv_constraint-4.c: Ditto.
* gcc.target/riscv/rvv/base/ternop_vv_constraint-5.c: Ditto.
* gcc.target/riscv/rvv/base/ternop_vv_constraint-6.c: Ditto.
* gcc.target/riscv/rvv/base/ternop_vx_constraint-1.c: Ditto.
* gcc.target/riscv/rvv/base/ternop_vx_constraint-8.c: Ditto.
* gcc.target/riscv/rvv/base/ternop_vx_constraint-9.c: Ditto.
* gcc.target/riscv/rvv/base/unop_v_constraint-1.c: Ditto.
* gcc.target/riscv/rvv/base/unop_v_constraint-2.c: Ditto.
Signed-off-by: Pan Li <pan2.li@intel.com>
71 files changed, 404 insertions, 749 deletions
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vv_constraint-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vv_constraint-1.c index 3372ec1..4fc7f40 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vv_constraint-1.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vv_constraint-1.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vadd\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ ** vadd\.vv\tv[1-9][0-9]?,\s*v[0-9]+,\s*v[0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vadd\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ ** vadd\.vv\tv[1-9][0-9]?,\s*v[0-9]+,\s*v[0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-1.c index 09e0e21..9a248bf 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-1.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-1.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vadd\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vadd\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vadd\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vadd\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-10.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-10.c index faf5ffb..c40d676 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-10.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-10.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vand\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vand\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 ** vand\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*-16,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vand\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vand\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vand\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 ** vand\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*-16,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vand\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-11.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-11.c index 54fe941..b9b09a8 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-11.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-11.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vand\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vand\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 ** vand\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*15,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vand\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vand\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vand\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 ** vand\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*15,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vand\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-12.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-12.c index 8a18a1d..634c12a 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-12.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-12.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vand\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vand\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vand\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-129.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-129.c index db5dfe1..b99628b 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-129.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-129.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmseq\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void * in2, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmseq\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -47,9 +47,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],m[au] +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmseq\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-13.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-13.c index d844e1b..4d8e641 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-13.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-13.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vor\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vor\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-130.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-130.c index da6b02d..47c984b 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-130.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-130.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmseq\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -24,9 +24,9 @@ void f1 (void * in, void * in2, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmseq\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -47,9 +47,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],m[au] +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmseq\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-131.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-131.c index 16d35c8..b6e12b3 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-131.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-131.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmseq\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -24,9 +24,9 @@ void f1 (void * in, void * in2, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmseq\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -47,9 +47,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],m[au] +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmseq\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-133.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-133.c index 2da8ab7..f6d0d7f 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-133.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-133.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmslt\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void * in2, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmslt\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -47,9 +47,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],m[au] +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmslt\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-134.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-134.c index a83fee4..ff39b24 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-134.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-134.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmslt\.vi\tv[0-9]+,\s*v[0-9]+,\s*-15 @@ -24,9 +24,9 @@ void f1 (void * in, void * in2, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmslt\.vi\tv[0-9]+,\s*v[0-9]+,\s*-15 @@ -47,9 +47,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],m[au] +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmslt\.vi\tv[0-9]+,\s*v[0-9]+,\s*-15 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-135.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-135.c index 7679876..4852601 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-135.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-135.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmslt\.vi\tv[0-9]+,\s*v[0-9]+,\s*16 @@ -24,9 +24,9 @@ void f1 (void * in, void * in2, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmslt\.vi\tv[0-9]+,\s*v[0-9]+,\s*16 @@ -47,9 +47,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],m[au] +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmslt\.vi\tv[0-9]+,\s*v[0-9]+,\s*16 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-14.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-14.c index 6779dfe..4c07a33 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-14.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-14.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vor\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vor\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 ** vor\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*-16,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vor\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vor\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vor\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 ** vor\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*-16,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vor\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-15.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-15.c index 611a86f..82cc944 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-15.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-15.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vor\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vor\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 ** vor\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*15,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vor\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vor\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vor\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 ** vor\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*15,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vor\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-153.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-153.c index a941bcd..a0f6c67 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-153.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-153.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,t[au],m[au] +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmslt\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -26,9 +26,9 @@ void f1 (void * in, void * in2, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmslt\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -51,9 +51,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],m[au] +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmslt\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-154.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-154.c index ddbde57..8e18d76 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-154.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-154.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmsge\.vi\tv[0-9]+,\s*v[0-9]+,\s*-15 @@ -24,9 +24,9 @@ void f1 (void * in, void * in2, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmsge\.vi\tv[0-9]+,\s*v[0-9]+,\s*-15 @@ -47,9 +47,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],m[au] +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmsge\.vi\tv[0-9]+,\s*v[0-9]+,\s*-15 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-155.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-155.c index d22f3e4..4b5e681 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-155.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-155.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmsge\.vi\tv[0-9]+,\s*v[0-9]+,\s*16 @@ -24,9 +24,9 @@ void f1 (void * in, void * in2, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmsge\.vi\tv[0-9]+,\s*v[0-9]+,\s*16 @@ -47,9 +47,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],m[au] +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmsge\.vi\tv[0-9]+,\s*v[0-9]+,\s*16 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-158.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-158.c index d22f3e4..4b5e681 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-158.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-158.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmsge\.vi\tv[0-9]+,\s*v[0-9]+,\s*16 @@ -24,9 +24,9 @@ void f1 (void * in, void * in2, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],mu +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmsge\.vi\tv[0-9]+,\s*v[0-9]+,\s*16 @@ -47,9 +47,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,t[au],m[au] +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmsge\.vi\tv[0-9]+,\s*v[0-9]+,\s*16 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-16.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-16.c index 0a7a1e8..651d610 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-16.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-16.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-17.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-17.c index eeea351..d19a9fd 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-17.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-17.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vmul\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vmul\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmul\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-171.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-171.c index 6e8669a..591a99e 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-171.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-171.c @@ -7,10 +7,6 @@ /* ** f1: ** ... -** vsetivli\t[a-x0-9]+,\s*4,e64,m1,t[au],m[au] -** ... -** vsetvli\tzero,\s*[a-x0-9]+,e32,m1,tu,m[au] -** ... ** vslide1down\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** ... ** vslide1down\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -41,10 +37,6 @@ void f1 (void * in, void *out, int64_t x, int n) /* ** f2: ** ... -** vsetivli\t[a-x0-9]+,\s*4,e64,m1,t[au],m[au] -** ... -** vsetvli\tzero,\s*[a-x0-9]+,e32,m1,tu,m[au] -** ... ** vslide1up\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** ... ** vslide1up\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-172.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-172.c index 060c853..ae48b08 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-172.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-172.c @@ -7,8 +7,6 @@ /* ** f1: ** ... -** vsetivli\tzero,\s*4,e32,m1,tu,m[au] -** ... ** vslide1down\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** ... ** vslide1down\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -39,8 +37,6 @@ void f1 (void * in, void *out, int64_t x, int n) /* ** f2: ** ... -** vsetivli\tzero,\s*4,e32,m1,tu,m[au] -** ... ** vslide1up\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** ... ** vslide1up\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-173.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-173.c index af9c45e..ca68cc5 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-173.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-173.c @@ -7,10 +7,6 @@ /* ** f1: ** ... -** vsetvli\t[a-x0-9]+,\s*[a-x0-9]+,e64,m1,t[au],m[au] -** ... -** vsetvli\tzero,\s*[a-x0-9]+,e32,m1,tu,m[au] -** ... ** vslide1down\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** ... ** vslide1down\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -41,10 +37,6 @@ void f1 (void * in, void *out, int64_t x, int vl) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,\s*[a-x0-9]+,e64,m1,t[au],m[au] -** ... -** vsetvli\tzero,\s*[a-x0-9]+,e32,m1,tu,m[au] -** ... ** vslide1up\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** ... ** vslide1up\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-174.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-174.c index f2e5d40..c566db4 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-174.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-174.c @@ -7,8 +7,6 @@ /* ** f1: ** ... -** vsetvli\t[a-x0-9]+,\s*zero,e32,m1,tu,m[au] -** ... ** vslide1down\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** ... ** vslide1down\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -39,8 +37,6 @@ void f1 (void * in, void *out, int64_t x, int vl) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,\s*zero,e32,m1,tu,m[au] -** ... ** vslide1up\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** ... ** vslide1up\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-18.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-18.c index 328564f..db89600 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-18.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-18.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmul\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmul\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vmul\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmul\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmul\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmul\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vmul\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmul\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-19.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-19.c index f4616b4..16f4315 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-19.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-19.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vmax\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vmax\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmax\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-2.c index 2c02c35..9c40181 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-2.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-2.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 ** vadd\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*-16,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 ** vadd\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*-16,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-20.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-20.c index 4415736..d5c1dcf 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-20.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-20.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmax\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmax\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vmax\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmax\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmax\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmax\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vmax\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmax\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-21.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-21.c index c082f40..347c846 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-21.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-21.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vmin\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vmin\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmin\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-22.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-22.c index b481362..28a1bc1 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-22.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-22.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmin\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmin\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vmin\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmin\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmin\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmin\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vmin\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmin\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-23.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-23.c index fd6fd67..bc41444 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-23.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-23.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vmaxu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vmaxu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmaxu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-24.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-24.c index d8ed5b1..eb74df5 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-24.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-24.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmaxu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, uint32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmaxu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vmaxu\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, uint32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmaxu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, uint32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vmaxu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, uint8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmaxu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vmaxu\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, uint8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vmaxu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-25.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-25.c index 66891ac..ce3f3af 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-25.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-25.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vminu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vminu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vminu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-26.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-26.c index b70a136..9b578cc 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-26.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-26.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vminu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, uint32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vminu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vminu\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, uint32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vminu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, uint32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vminu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, uint8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vminu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vminu\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, uint8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vminu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-27.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-27.c index 6f06829..4946f84 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-27.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-27.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vdiv\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vdiv\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdiv\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-28.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-28.c index a239a33..b1ca4cb 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-28.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-28.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vdiv\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdiv\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vdiv\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdiv\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vdiv\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdiv\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vdiv\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdiv\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-29.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-29.c index 9424a46..5f2eede 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-29.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-29.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-3.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-3.c index 1da0cb6..21c1fc5 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-3.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-3.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 ** vadd\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*15,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 ** vadd\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*15,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-30.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-30.c index 272c0ea..a9ac723 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-30.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-30.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, uint32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vdivu\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, uint32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, uint32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, uint8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vdivu\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, uint8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-31.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-31.c index 9424a46..5f2eede 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-31.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-31.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-32.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-32.c index 272c0ea..a9ac723 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-32.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-32.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, uint32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vdivu\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, uint32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, uint32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, uint8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vdivu\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, uint8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vdivu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-33.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-33.c index 6f2bca4..88fcba6 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-33.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-33.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-34.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-34.c index 45015d7..edb35c8 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-34.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-34.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, uint32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vremu\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, uint32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, uint32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, uint8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vremu\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, uint8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-35.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-35.c index 6f2bca4..88fcba6 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-35.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-35.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-36.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-36.c index 45015d7..edb35c8 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-36.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-36.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, uint32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vremu\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, uint32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, uint32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, uint8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vremu\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, uint8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vremu\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-37.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-37.c index 34de445..10322b6 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-37.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-37.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vsub\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vsub\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-38.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-38.c index 1374bec..45452fe 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-38.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-38.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 ** vadd\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*15,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 ** vadd\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*15,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-39.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-39.c index 21b77b9..ff470b3 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-39.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-39.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 ** vadd\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*-16,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 ** vadd\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*-16,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-4.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-4.c index 297ed23..87a1645 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-4.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-4.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vadd\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vadd\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-40.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-40.c index 653f043..c0321ce 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-40.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-40.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vadd\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vadd\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vadd\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-41.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-41.c index 4ff352b..7b6a1a8 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-41.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-41.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vrsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vrsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vrsub\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vrsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vrsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vrsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vrsub\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vrsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-42.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-42.c index 975ebe7..42f7ba4 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-42.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-42.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vrsub\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vrsub\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 ** vrsub\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*-16,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vrsub\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vrsub\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vrsub\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 ** vrsub\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*-16,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vrsub\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-43.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-43.c index 4f3e906..55583298 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-43.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-43.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vrsub\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vrsub\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 ** vrsub\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*15,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vrsub\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vrsub\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vrsub\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 ** vrsub\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*15,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vrsub\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-44.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-44.c index d4dc4e0..ab0f13b 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-44.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-44.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vrsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vrsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vrsub\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-5.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-5.c index 29eab66..0600f98 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-5.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-5.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vxor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vxor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vxor\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vxor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vxor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vxor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vxor\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vxor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-6.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-6.c index 67fd655..dae7aaa 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-6.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-6.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vxor\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vxor\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 ** vxor\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*-16,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vxor\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vxor\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vxor\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 ** vxor\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*-16,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vxor\.vi\tv[0-9]+,\s*v[0-9]+,\s*-16 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-7.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-7.c index 71a320a..8b80a7f 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-7.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-7.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vxor\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vxor\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 ** vxor\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*15,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vxor\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vxor\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vxor\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 ** vxor\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*15,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vxor\.vi\tv[0-9]+,\s*v[0-9]+,\s*15 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-8.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-8.c index 797abbd..9bf9ff5 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-8.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-8.c @@ -6,8 +6,6 @@ /* ** f1: ** ... -** vsetivli\tzero,4,e32,m1,tu,ma -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -29,12 +27,8 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma -** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vxor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -56,12 +50,8 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,tu,mu -** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t @@ -85,8 +75,6 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: ** ... -** vsetivli\tzero,4,e8,mf8,tu,ma -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) @@ -108,12 +96,8 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,ta,ma -** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** ... ** vxor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -135,12 +119,8 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: ** ... -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma -** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e8,mf8,tu,mu -** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vxor\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-9.c b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-9.c index ce786e1..e92fe0c 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-9.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-9.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vand\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vand\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vand\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vand\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out, int32_t x) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vand\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out, int8_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vand\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ ** vand\.vx\tv[1-9][0-9]?,\s*v[0-9]+,\s*[a-x0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out, int8_t x) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vand\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/shift_vx_constraint-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/shift_vx_constraint-1.c index e40e193..250e017 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/shift_vx_constraint-1.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/shift_vx_constraint-1.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vsll\.vi\tv[0-9]+,\s*v[0-9]+,31 @@ -24,10 +24,9 @@ void f1 (void * in, void *out) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) ** ... -** vsetivli\tzero,4,e32,m1,ta,ma ** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vsll\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -48,9 +47,9 @@ void f2 (void * in, void *out) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vsll\.vi\tv[0-9]+,\s*v[0-9]+,\s*17 @@ -71,7 +70,7 @@ void f3 (void * in, void *out) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vsll\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ @@ -90,9 +89,9 @@ void f4 (void * in, void *out, size_t x) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vsll\.vi\tv[0-9]+,\s*v[0-9]+,\s*5 ** vsll\.vi\tv[1-9][0-9]?,\s*v[0-9]+,\s*5,\s*v0.t @@ -112,9 +111,9 @@ void f5 (void * in, void *out) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vsll\.vx\tv[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-1.c index 838776e..7d0a44e 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-1.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-1.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vma[c-d][c-d]\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -30,7 +30,7 @@ void f1 (void * in, void * in2, void *out) /* ** f2: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vma[c-d][c-d]\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -55,7 +55,7 @@ void f2 (void * in, void * in2, void *out) /* ** f3: -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vlm\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-2.c index 54506c1..61345f0 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-2.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-2.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vma[c-d][c-d]\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -30,7 +30,7 @@ void f1 (void * in, void * in2, void *out) /* ** f2: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vma[c-d][c-d]\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -55,7 +55,7 @@ void f2 (void * in, void * in2, void *out) /* ** f3: -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vlm\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-3.c b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-3.c index 5ff07da..100f12e 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-3.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-3.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vfma[c-d][c-d]\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -30,7 +30,7 @@ void f1 (void * in, void * in2, void *out) /* ** f2: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vfma[c-d][c-d]\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -55,7 +55,7 @@ void f2 (void * in, void * in2, void *out) /* ** f3: -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vlm\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-4.c b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-4.c index c280d97..4dd09ae 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-4.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-4.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vfma[c-d][c-d]\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -30,7 +30,7 @@ void f1 (void * in, void * in2, void *out) /* ** f2: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vfma[c-d][c-d]\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -55,7 +55,7 @@ void f2 (void * in, void * in2, void *out) /* ** f3: -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vlm\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-5.c b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-5.c index 1f71aa8..02263b5 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-5.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-5.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vfnma[c-d][c-d]\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -30,7 +30,7 @@ void f1 (void * in, void * in2, void *out) /* ** f2: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vfnma[c-d][c-d]\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -55,7 +55,7 @@ void f2 (void * in, void * in2, void *out) /* ** f3: -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vlm\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-6.c b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-6.c index 2d2ed66..db77dff 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-6.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vv_constraint-6.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vfnma[c-d][c-d]\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -30,7 +30,7 @@ void f1 (void * in, void * in2, void *out) /* ** f2: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vfnma[c-d][c-d]\.vv\tv[0-9]+,\s*v[0-9]+,\s*v[0-9]+ @@ -55,7 +55,7 @@ void f2 (void * in, void * in2, void *out) /* ** f3: -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vlm\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vx_constraint-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vx_constraint-1.c index 90e1206..99083a4 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vx_constraint-1.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vx_constraint-1.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vma[c-d][c-d]\.vx\tv[0-9]+,\s*[a-x0-9]+,\s*v[0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void * in2, void *out, int32_t x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vma[c-d][c-d]\.vx\tv[0-9]+,\s*[a-x0-9]+,\s*v[0-9]+ @@ -47,9 +47,9 @@ void f2 (void * in, void * in2, void *out, int32_t x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vma[c-d][c-d]\.vx\tv[0-9]+,\s*[a-x0-9]+,\s*v[0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vx_constraint-8.c b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vx_constraint-8.c index 82e1473..6d0cd29 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vx_constraint-8.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vx_constraint-8.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vfma[c-d][c-d]\.vf\tv[0-9]+,\s*[a-x0-9]+,\s*v[0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void * in2, void *out, float x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vfma[c-d][c-d]\.vf\tv[0-9]+,\s*[a-x0-9]+,\s*v[0-9]+ @@ -47,9 +47,9 @@ void f2 (void * in, void * in2, void *out, float x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vfma[c-d][c-d]\.vf\tv[0-9]+,\s*[a-x0-9]+,\s*v[0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vx_constraint-9.c b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vx_constraint-9.c index 1beed49..db86eaa 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vx_constraint-9.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/ternop_vx_constraint-9.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vfnma[c-d][c-d]\.vf\tv[0-9]+,\s*[a-x0-9]+,\s*v[0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void * in2, void *out, float x) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vfnma[c-d][c-d]\.vf\tv[0-9]+,\s*[a-x0-9]+,\s*v[0-9]+ @@ -47,9 +47,9 @@ void f2 (void * in, void * in2, void *out, float x) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vle32.v\tv[0-9]+,0\([a-x0-9]+\) ** vfnma[c-d][c-d]\.vf\tv[0-9]+,\s*[a-x0-9]+,\s*v[0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/unop_v_constraint-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/unop_v_constraint-1.c index 1266784..64f4407 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/unop_v_constraint-1.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/unop_v_constraint-1.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vneg\.v\tv[0-9]+,\s*v[0-9]+ @@ -24,9 +24,9 @@ void f1 (void * in, void *out) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vneg\.v\tv[0-9]+,\s*v[0-9]+ ** vneg\.v\tv[1-9][0-9]?,\s*v[0-9]+,\s*v0.t @@ -46,9 +46,9 @@ void f2 (void * in, void *out) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle32\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle32.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vneg\.v\tv[0-9]+,\s*v[0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out) /* ** f4: -** vsetivli\tzero,4,e8,mf8,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vneg\.v\tv[0-9]+,\s*v[0-9]+ @@ -88,9 +88,9 @@ void f4 (void * in, void *out) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vneg\.v\tv[0-9]+,\s*v[0-9]+ ** vneg\.v\tv[1-9][0-9]?,\s*v[0-9]+,\s*v0.t @@ -110,9 +110,9 @@ void f5 (void * in, void *out) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e8,mf8,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vneg\.v\tv[0-9]+,\s*v[0-9]+ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/unop_v_constraint-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/unop_v_constraint-2.c index 19f9365..3344d42 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/unop_v_constraint-2.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/unop_v_constraint-2.c @@ -5,7 +5,7 @@ /* ** f1: -** vsetivli\tzero,4,e32,m1,tu,ma +** ... ** vle16\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle16\.v\tv[0-9]+,0\([a-x0-9]+\) ** vsext\.vf2\tv[0-9]+,\s*v[0-9]+ @@ -24,12 +24,12 @@ void f1 (void * in, void *out) /* ** f2: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,ta,ma +** ... ** vle16\.v\tv[0-9]+,0\([a-x0-9]+\) ** vsext\.vf2\tv[0-9]+,\s*v[0-9]+ -** vsetvli\tzero,zero,e64,m2,ta,ma +** ... ** vsext\.vf2\tv[1-9][0-9]?,\s*v[0-9]+,\s*v0.t ** vse64\.v\tv[0-9]+,0\([a-x0-9]+\) ** ret @@ -46,9 +46,9 @@ void f2 (void * in, void *out) /* ** f3: -** vsetvli\t[a-x0-9]+,zero,e8,mf4,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e32,m1,tu,mu +** ... ** vle16\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle16\.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vsext\.vf2\tv[0-9]+,\s*v[0-9]+ @@ -69,7 +69,7 @@ void f3 (void * in, void *out) /* ** f4: -** vsetivli\tzero,4,e16,mf4,tu,ma +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vsext\.vf2\tv[0-9]+,\s*v[0-9]+ @@ -88,12 +88,12 @@ void f4 (void * in, void *out) /* ** f5: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e16,mf4,ta,ma +** ... ** vle8.v\tv[0-9]+,0\([a-x0-9]+\) ** vsext\.vf2\tv[0-9]+,\s*v[0-9]+ -** vsetvli\tzero,zero,e32,mf2,ta,ma +** ... ** vsext\.vf2\tv[1-9][0-9]?,\s*v[0-9]+,\s*v0.t ** vse32.v\tv[0-9]+,0\([a-x0-9]+\) ** ret @@ -110,9 +110,9 @@ void f5 (void * in, void *out) /* ** f6: -** vsetvli\t[a-x0-9]+,zero,e8,mf8,ta,ma +** ... ** vlm.v\tv[0-9]+,0\([a-x0-9]+\) -** vsetivli\tzero,4,e16,mf4,tu,mu +** ... ** vle8\.v\tv[0-9]+,0\([a-x0-9]+\) ** vle8.v\tv[0-9]+,0\([a-x0-9]+\),v0.t ** vsext\.vf2\tv[0-9]+,\s*v[0-9]+ |