File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
tools/testing/selftests/arm64/abi Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -226,6 +226,12 @@ static void sveaes_sigill(void)
226
226
asm volatile (".inst 0x4522e400" : : : "z0" );
227
227
}
228
228
229
+ static void sveb16b16_sigill (void )
230
+ {
231
+ /* BFADD ZA.H[W0, 0], {Z0.H-Z1.H} */
232
+ asm volatile (".inst 0xC1E41C00" : : : );
233
+ }
234
+
229
235
static void svepmull_sigill (void )
230
236
{
231
237
/* PMULLB Z0.Q, Z0.D, Z0.D */
@@ -493,6 +499,13 @@ static const struct hwcap_data {
493
499
.cpuinfo = "sveaes" ,
494
500
.sigill_fn = sveaes_sigill ,
495
501
},
502
+ {
503
+ .name = "SVE2 B16B16" ,
504
+ .at_hwcap = AT_HWCAP2 ,
505
+ .hwcap_bit = HWCAP2_SVE_B16B16 ,
506
+ .cpuinfo = "sveb16b16" ,
507
+ .sigill_fn = sveb16b16_sigill ,
508
+ },
496
509
{
497
510
.name = "SVE2 PMULL" ,
498
511
.at_hwcap = AT_HWCAP2 ,
You can’t perform that action at this time.
0 commit comments