Skip to content

Commit 69c0d82

Browse files
brooniectmarinas
authored andcommitted
kselftest/arm64: Fix encoding for SVE B16B16 test
The test for SVE_B16B16 had a cut'n'paste of a SME instruction, fix it with a relevant SVE instruction. Fixes: 44d10c2 ("kselftest/arm64: Add 2023 DPISA hwcap test coverage") Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 17a2409 commit 69c0d82

File tree

1 file changed

+2
-2
lines changed
  • tools/testing/selftests/arm64/abi

1 file changed

+2
-2
lines changed

tools/testing/selftests/arm64/abi/hwcap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,8 @@ static void sveaes_sigill(void)
361361

362362
static void sveb16b16_sigill(void)
363363
{
364-
/* BFADD ZA.H[W0, 0], {Z0.H-Z1.H} */
365-
asm volatile(".inst 0xC1E41C00" : : : );
364+
/* BFADD Z0.H, Z0.H, Z0.H */
365+
asm volatile(".inst 0x65000000" : : : );
366366
}
367367

368368
static void svepmull_sigill(void)

0 commit comments

Comments
 (0)