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 3fc3c0d commit 2c3ce0eCopy full SHA for 2c3ce0e
tools/testing/selftests/arm64/abi/hwcap.c
@@ -88,6 +88,12 @@ static void mops_sigill(void)
88
: "cc", "memory");
89
}
90
91
+static void pmull_sigill(void)
92
+{
93
+ /* PMULL V0.1Q, V0.1D, V0.1D */
94
+ asm volatile(".inst 0x0ee0e000" : : : );
95
+}
96
+
97
static void rng_sigill(void)
98
{
99
asm volatile("mrs x0, S3_3_C2_C4_0" : : : "x0");
@@ -345,6 +351,13 @@ static const struct hwcap_data {
345
351
.sigill_fn = mops_sigill,
346
352
.sigill_reliable = true,
347
353
},
354
+ {
355
+ .name = "PMULL",
356
+ .at_hwcap = AT_HWCAP,
357
+ .hwcap_bit = HWCAP_PMULL,
358
+ .cpuinfo = "pmull",
359
+ .sigill_fn = pmull_sigill,
360
+ },
348
361
349
362
.name = "RNG",
350
363
.at_hwcap = AT_HWCAP2,
0 commit comments