Skip to content

Commit 3ac3093

Browse files
RISC-V: Refactor the testcases for bswap16-0
This patch would like to refactor the testcases of bswap16-0 after sorts of optimization option passing to testcase. To fits the big lmul like m8 for asm dump check. The below test suites are passed for this patch. * The rv64gcv fully regression test. It is test only patch and obvious up to a point, will commit it directly if no comments in next 48H. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/unop/bswap16-0.c: Update the vector register RE to cover v10 - v31. Signed-off-by: Pan Li <[email protected]>
1 parent b7baa22 commit 3ac3093

File tree

1 file changed

+1
-1
lines changed
  • gcc/testsuite/gcc.target/riscv/rvv/autovec/unop

1 file changed

+1
-1
lines changed

gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/bswap16-0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
** ...
1111
** vsrl\.vi\s+v[0-9]+,\s*v[0-9],\s*8+
1212
** vsll\.vi\s+v[0-9]+,\s*v[0-9],\s*8+
13-
** vor\.vv\s+v[0-9]+,\s*v[0-9],\s*v[0-9]+
13+
** vor\.vv\s+v[0-9]+,\s*v[0-9]+,\s*v[0-9]+
1414
** ...
1515
*/
1616
TEST_UNARY_CALL (uint16_t, __builtin_bswap16)

0 commit comments

Comments
 (0)