File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
tools/testing/selftests/arm64/abi Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,18 @@ static void cssc_sigill(void)
39
39
asm volatile (".inst 0xdac01c00" : : : "x0" );
40
40
}
41
41
42
+ static void ilrcpc_sigill (void )
43
+ {
44
+ /* LDAPUR W0, [SP, #8] */
45
+ asm volatile (".inst 0x994083e0" : : : );
46
+ }
47
+
48
+ static void lrcpc_sigill (void )
49
+ {
50
+ /* LDAPR W0, [SP, #0] */
51
+ asm volatile (".inst 0xb8bfc3e0" : : : );
52
+ }
53
+
42
54
static void mops_sigill (void )
43
55
{
44
56
char dst [1 ], src [1 ];
@@ -223,6 +235,20 @@ static const struct hwcap_data {
223
235
.cpuinfo = "cssc" ,
224
236
.sigill_fn = cssc_sigill ,
225
237
},
238
+ {
239
+ .name = "LRCPC" ,
240
+ .at_hwcap = AT_HWCAP ,
241
+ .hwcap_bit = HWCAP_LRCPC ,
242
+ .cpuinfo = "lrcpc" ,
243
+ .sigill_fn = lrcpc_sigill ,
244
+ },
245
+ {
246
+ .name = "LRCPC2" ,
247
+ .at_hwcap = AT_HWCAP ,
248
+ .hwcap_bit = HWCAP_ILRCPC ,
249
+ .cpuinfo = "ilrcpc" ,
250
+ .sigill_fn = ilrcpc_sigill ,
251
+ },
226
252
{
227
253
.name = "MOPS" ,
228
254
.at_hwcap = AT_HWCAP2 ,
You can’t perform that action at this time.
0 commit comments