Skip to content

Commit

Permalink
RISC-V: Robostify dynamic lmul test
Browse files Browse the repository at this point in the history
While working on refining the cost model, I notice this test will generate unexpected
scalar xor instructions if we don't tune cost model carefully.

Add more assembler to avoid future regression.

Committed.

gcc/testsuite/ChangeLog:

	* gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-7.c: Add assembler-not check.
  • Loading branch information
zhongjuzhe authored and Chen Yixuan committed Mar 7, 2024
1 parent 11128fd commit 9f52e7d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ x264_pixel_8x8 (unsigned char *pix1, unsigned char *pix2, int i_stride_pix2)
}

/* { dg-final { scan-assembler {e32,m2} } } */
/* { dg-final { scan-assembler-not {xor} } } */

0 comments on commit 9f52e7d

Please sign in to comment.