From: Robin Dapp Date: Sat, 15 Feb 2025 15:48:06 +0000 (-0700) Subject: [PATCH] RISC-V: testsuite: Adjust pr117722.c scan. X-Git-Tag: basepoints/gcc-16~1987 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9868e623fc80c6c6260c9dc6c7280db90433207;p=thirdparty%2Fgcc.git [PATCH] RISC-V: testsuite: Adjust pr117722.c scan. 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. --- diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr117722.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr117722.c index b675930818e..f255ceb2cee 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr117722.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr117722.c @@ -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} } } */