]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: testsuite: Fix reduc-8.c and reduc-9.c
authorRobin Dapp <rdapp@ventanamicro.com>
Wed, 22 Jan 2025 17:05:44 +0000 (18:05 +0100)
committerRobin Dapp <rdapp@ventanamicro.com>
Mon, 27 Jan 2025 19:16:40 +0000 (20:16 +0100)
In both tests we expect a VEC_SHL_INSERT expression but we now add the
initial value at the end.  Just remove that scan check.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/reduc/reduc-8.c: Remove
VEC_SHL_INSERT check.
* gcc.target/riscv/rvv/autovec/reduc/reduc-9.c: Ditto.

gcc/testsuite/gcc.target/riscv/rvv/autovec/reduc/reduc-8.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/reduc/reduc-9.c

index fe47aa3648ddf3bc71c1cee6301c66b8ba03d44b..518f0c33cc4e4dfbd0f5a9355236e480a8921f86 100644 (file)
@@ -12,5 +12,4 @@ add_loop (int *x, int n, int res)
   return res;
 }
 
-/* { dg-final { scan-tree-dump-times "VEC_SHL_INSERT" 1 "optimized" } } */
 /* { dg-final { scan-assembler-times {vslide1up\.vx\s+v[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+} 1 } } */
index 6630d3027210b079fba3e9b9a4a2a80a8c1fbbf4..a5bb8dcccb81b3a010896e543db4f1baa2cb9e83 100644 (file)
@@ -12,5 +12,4 @@ add_loop (float *x, int n, float res)
   return res;
 }
 
-/* { dg-final { scan-tree-dump-times "VEC_SHL_INSERT" 1 "optimized" } } */
 /* { dg-final { scan-assembler-times {vfslide1up\.vf\s+v[0-9]+,\s*v[0-9]+,\s*[a-x0-9]+} 1 } } */