We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 672dbf9 commit eb27c76Copy full SHA for eb27c76
tools/testing/selftests/arm64/abi/hwcap.c
@@ -39,6 +39,11 @@ static void cssc_sigill(void)
39
asm volatile(".inst 0xdac01c00" : : : "x0");
40
}
41
42
+static void fp_sigill(void)
43
+{
44
+ asm volatile("fmov s0, #1");
45
+}
46
+
47
static void ilrcpc_sigill(void)
48
{
49
/* LDAPUR W0, [SP, #8] */
@@ -235,6 +240,13 @@ static const struct hwcap_data {
235
240
.cpuinfo = "cssc",
236
241
.sigill_fn = cssc_sigill,
237
242
},
243
+ {
244
+ .name = "FP",
245
+ .at_hwcap = AT_HWCAP,
246
+ .hwcap_bit = HWCAP_FP,
247
+ .cpuinfo = "fp",
248
+ .sigill_fn = fp_sigill,
249
+ },
238
250
239
251
.name = "LRCPC",
252
.at_hwcap = AT_HWCAP,
0 commit comments