]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[PATCH] RISC-V: testsuite: Adjust pr117722.c scan.
authorRobin Dapp <rdapp.gcc@gmail.com>
Sat, 15 Feb 2025 15:48:06 +0000 (08:48 -0700)
committerJeff Law <jlaw@ventanamicro.com>
Sat, 15 Feb 2025 15:48:06 +0000 (08:48 -0700)
the test scanned for vmin and vmax instead of vminu and vmaxu.
This patch fixes that.

Will commit as obvious once the CI is OK with it.

Regards
 Robin

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/pr117722.c: Scan for vminu and
vmaxu.

gcc/testsuite/gcc.target/riscv/rvv/autovec/pr117722.c

index b675930818e1f47f8c327632d37f6374b529bdfd..f255ceb2cee6f10e9ee3203e7ac4a98936414bf2 100644 (file)
@@ -18,6 +18,6 @@ int pixel_sad_n(unsigned char *pix1, unsigned char *pix2, int n)
   return sum;
 }
 
-/* { dg-final { scan-assembler {vmin\.v} } } */
-/* { dg-final { scan-assembler {vmax\.v} } } */
+/* { dg-final { scan-assembler {vminu\.v} } } */
+/* { dg-final { scan-assembler {vmaxu\.v} } } */
 /* { dg-final { scan-assembler {vsub\.v} } } */