[llvm] [llvm][AArch64] Drop an ignored field on AArch64CPUTestParams. NFC (PR #98338)
Jon Roelofs via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 08:55:16 PDT 2024
https://github.com/jroelofs updated https://github.com/llvm/llvm-project/pull/98338
>From 21ff3c9d3e5670345b6e279c5d27e0cfe0b0cc30 Mon Sep 17 00:00:00 2001
From: Jon Roelofs <jonathan_roelofs at apple.com>
Date: Wed, 10 Jul 2024 08:31:22 -0700
Subject: [PATCH 1/3] [llvm][AArch64] Drop an ignored field on
AArch64CPUTestParams. NFC
AFAICT, the only use of the field was for the ARM side of this shared struct.
---
.../TargetParser/TargetParserTest.cpp | 154 +++++++++---------
1 file changed, 75 insertions(+), 79 deletions(-)
diff --git a/llvm/unittests/TargetParser/TargetParserTest.cpp b/llvm/unittests/TargetParser/TargetParserTest.cpp
index 62be718ba8d14..3df0630979939 100644
--- a/llvm/unittests/TargetParser/TargetParserTest.cpp
+++ b/llvm/unittests/TargetParser/TargetParserTest.cpp
@@ -1074,10 +1074,9 @@ TEST(TargetParserTest, ARMPrintSupportedExtensions) {
struct AArch64CPUTestParams
: public ARMCPUTestParams<AArch64::ExtensionBitset> {
AArch64CPUTestParams(StringRef CPUName, StringRef ExpectedArch,
- StringRef ExpectedFPU,
AArch64::ExtensionBitset ExpectedFlags)
: ARMCPUTestParams<AArch64::ExtensionBitset>(CPUName, ExpectedArch,
- ExpectedFPU, ExpectedFlags,
+ /*ignored*/ "", ExpectedFlags,
/*ignored*/ "") {}
/// Print a gtest-compatible facsimile of the CPUName, to make the test's name
/// human-readable.
@@ -1111,25 +1110,25 @@ TEST_P(AArch64CPUTestFixture, testAArch64CPU) {
INSTANTIATE_TEST_SUITE_P(
AArch64CPUTests, AArch64CPUTestFixture,
::testing::Values(
- AArch64CPUTestParams("cortex-a34", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("cortex-a34", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("cortex-a35", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("cortex-a35", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("cortex-a53", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("cortex-a53", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "cortex-a55", "armv8.2-a", "crypto-neon-fp-armv8",
+ "cortex-a55", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_RAS,
AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_FP16,
AArch64::AEK_DOTPROD, AArch64::AEK_RCPC, AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("cortex-a510", "armv9-a", "neon-fp-armv8",
+ AArch64CPUTestParams("cortex-a510", "armv9-a",
{AArch64::AEK_CRC, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_RAS,
AArch64::AEK_LSE, AArch64::AEK_RDM,
@@ -1142,7 +1141,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_SB, AArch64::AEK_JSCVT,
AArch64::AEK_FCMA, AArch64::AEK_PERFMON,
AArch64::AEK_ETE, AArch64::AEK_AM}),
- AArch64CPUTestParams("cortex-a520", "armv9.2-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("cortex-a520", "armv9.2-a",
{AArch64::AEK_BF16, AArch64::AEK_I8MM,
AArch64::AEK_SVE, AArch64::AEK_SVE2,
AArch64::AEK_FP16, AArch64::AEK_DOTPROD,
@@ -1158,7 +1157,6 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_PERFMON, AArch64::AEK_AM,
AArch64::AEK_ETE}),
AArch64CPUTestParams("cortex-a520ae", "armv9.2-a",
- "crypto-neon-fp-armv8",
{AArch64::AEK_BF16, AArch64::AEK_I8MM,
AArch64::AEK_SVE, AArch64::AEK_SVE2,
AArch64::AEK_FP16, AArch64::AEK_DOTPROD,
@@ -1173,75 +1171,75 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_JSCVT, AArch64::AEK_FCMA,
AArch64::AEK_PERFMON, AArch64::AEK_AM,
AArch64::AEK_ETE}),
- AArch64CPUTestParams("cortex-a57", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("cortex-a57", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "cortex-a65", "armv8.2-a", "crypto-neon-fp-armv8",
+ "cortex-a65", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_DOTPROD, AArch64::AEK_FP, AArch64::AEK_FP16,
AArch64::AEK_LSE, AArch64::AEK_RAS, AArch64::AEK_RCPC,
AArch64::AEK_RDM, AArch64::AEK_SIMD, AArch64::AEK_SSBS,
AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "cortex-a65ae", "armv8.2-a", "crypto-neon-fp-armv8",
+ "cortex-a65ae", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_DOTPROD, AArch64::AEK_FP, AArch64::AEK_FP16,
AArch64::AEK_LSE, AArch64::AEK_RAS, AArch64::AEK_RCPC,
AArch64::AEK_RDM, AArch64::AEK_SIMD, AArch64::AEK_SSBS,
AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("cortex-a72", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("cortex-a72", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("cortex-a73", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("cortex-a73", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "cortex-a75", "armv8.2-a", "crypto-neon-fp-armv8",
+ "cortex-a75", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_RAS,
AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_FP16,
AArch64::AEK_DOTPROD, AArch64::AEK_RCPC, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "cortex-a76", "armv8.2-a", "crypto-neon-fp-armv8",
+ "cortex-a76", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_FP, AArch64::AEK_RDM, AArch64::AEK_SIMD,
AArch64::AEK_RAS, AArch64::AEK_LSE, AArch64::AEK_FP16,
AArch64::AEK_DOTPROD, AArch64::AEK_RCPC, AArch64::AEK_SSBS,
AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "cortex-a76ae", "armv8.2-a", "crypto-neon-fp-armv8",
+ "cortex-a76ae", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_FP, AArch64::AEK_RDM, AArch64::AEK_SIMD,
AArch64::AEK_RAS, AArch64::AEK_LSE, AArch64::AEK_FP16,
AArch64::AEK_DOTPROD, AArch64::AEK_RCPC, AArch64::AEK_SSBS,
AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "cortex-a77", "armv8.2-a", "crypto-neon-fp-armv8",
+ "cortex-a77", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_FP, AArch64::AEK_RDM, AArch64::AEK_SIMD,
AArch64::AEK_RAS, AArch64::AEK_LSE, AArch64::AEK_FP16,
AArch64::AEK_DOTPROD, AArch64::AEK_RCPC, AArch64::AEK_SSBS,
AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "cortex-a78", "armv8.2-a", "crypto-neon-fp-armv8",
+ "cortex-a78", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_FP, AArch64::AEK_RDM, AArch64::AEK_SIMD,
AArch64::AEK_RAS, AArch64::AEK_LSE, AArch64::AEK_FP16,
AArch64::AEK_DOTPROD, AArch64::AEK_RCPC, AArch64::AEK_SSBS,
AArch64::AEK_PROFILE, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "cortex-a78ae", "armv8.2-a", "crypto-neon-fp-armv8",
+ "cortex-a78ae", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_FP, AArch64::AEK_RDM, AArch64::AEK_SIMD,
AArch64::AEK_RAS, AArch64::AEK_LSE, AArch64::AEK_FP16,
AArch64::AEK_DOTPROD, AArch64::AEK_RCPC, AArch64::AEK_SSBS,
AArch64::AEK_PROFILE, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "cortex-a78c", "armv8.2-a", "crypto-neon-fp-armv8",
+ "cortex-a78c", "armv8.2-a",
{AArch64::AEK_RAS, AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_RAS, AArch64::AEK_LSE, AArch64::AEK_RDM,
@@ -1249,7 +1247,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_SSBS, AArch64::AEK_PROFILE, AArch64::AEK_FLAGM,
AArch64::AEK_PAUTH, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "cortex-a710", "armv9-a", "neon-fp-armv8",
+ "cortex-a710", "armv9-a",
{AArch64::AEK_CRC, AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_RAS, AArch64::AEK_LSE, AArch64::AEK_RDM,
AArch64::AEK_RCPC, AArch64::AEK_DOTPROD, AArch64::AEK_MTE,
@@ -1258,7 +1256,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_FLAGM, AArch64::AEK_SB, AArch64::AEK_I8MM,
AArch64::AEK_BF16, AArch64::AEK_JSCVT, AArch64::AEK_FCMA,
AArch64::AEK_PERFMON, AArch64::AEK_ETE}),
- AArch64CPUTestParams("cortex-a715", "armv9-a", "neon-fp-armv8",
+ AArch64CPUTestParams("cortex-a715", "armv9-a",
{AArch64::AEK_CRC, AArch64::AEK_FP,
AArch64::AEK_BF16, AArch64::AEK_SIMD,
AArch64::AEK_RAS, AArch64::AEK_LSE,
@@ -1273,7 +1271,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_FLAGM, AArch64::AEK_JSCVT,
AArch64::AEK_FCMA, AArch64::AEK_PERFMON,
AArch64::AEK_ETE, AArch64::AEK_TRBE}),
- AArch64CPUTestParams("cortex-a720", "armv9.2-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("cortex-a720", "armv9.2-a",
{AArch64::AEK_BF16, AArch64::AEK_I8MM,
AArch64::AEK_SVE, AArch64::AEK_SVE2,
AArch64::AEK_FP16, AArch64::AEK_DOTPROD,
@@ -1290,7 +1288,6 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_ETE, AArch64::AEK_SPE_EEF,
AArch64::AEK_TRBE}),
AArch64CPUTestParams("cortex-a720ae", "armv9.2-a",
- "crypto-neon-fp-armv8",
{AArch64::AEK_BF16, AArch64::AEK_I8MM,
AArch64::AEK_SVE, AArch64::AEK_SVE2,
AArch64::AEK_FP16, AArch64::AEK_DOTPROD,
@@ -1306,7 +1303,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_FCMA, AArch64::AEK_PERFMON,
AArch64::AEK_ETE, AArch64::AEK_SPE_EEF,
AArch64::AEK_TRBE}),
- AArch64CPUTestParams("cortex-a725", "armv9.2-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("cortex-a725", "armv9.2-a",
{AArch64::AEK_BF16, AArch64::AEK_I8MM,
AArch64::AEK_SVE, AArch64::AEK_SVE2,
AArch64::AEK_FP16, AArch64::AEK_DOTPROD,
@@ -1322,7 +1319,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_FCMA, AArch64::AEK_ETE,
AArch64::AEK_SPE_EEF, AArch64::AEK_TRBE}),
AArch64CPUTestParams(
- "neoverse-v1", "armv8.4-a", "crypto-neon-fp-armv8",
+ "neoverse-v1", "armv8.4-a",
{AArch64::AEK_RAS, AArch64::AEK_SVE, AArch64::AEK_SSBS,
AArch64::AEK_RCPC, AArch64::AEK_CRC, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_RAS, AArch64::AEK_LSE,
@@ -1332,7 +1329,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_PROFILE, AArch64::AEK_RAND, AArch64::AEK_FP16FML,
AArch64::AEK_I8MM, AArch64::AEK_JSCVT, AArch64::AEK_FCMA,
AArch64::AEK_PAUTH, AArch64::AEK_PERFMON, AArch64::AEK_CCDP}),
- AArch64CPUTestParams("neoverse-v2", "armv9-a", "neon-fp-armv8",
+ AArch64CPUTestParams("neoverse-v2", "armv9-a",
{AArch64::AEK_RAS, AArch64::AEK_SVE,
AArch64::AEK_SSBS, AArch64::AEK_RCPC,
AArch64::AEK_CRC, AArch64::AEK_FP,
@@ -1346,7 +1343,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_JSCVT, AArch64::AEK_FCMA,
AArch64::AEK_PAUTH, AArch64::AEK_PERFMON,
AArch64::AEK_ETE}),
- AArch64CPUTestParams("neoverse-v3", "armv9.2-a", "neon-fp-armv8",
+ AArch64CPUTestParams("neoverse-v3", "armv9.2-a",
{AArch64::AEK_BF16, AArch64::AEK_I8MM,
AArch64::AEK_SVE, AArch64::AEK_SVE2,
AArch64::AEK_FP16, AArch64::AEK_DOTPROD,
@@ -1363,7 +1360,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_PROFILE, AArch64::AEK_JSCVT,
AArch64::AEK_FCMA, AArch64::AEK_PERFMON,
AArch64::AEK_ETE, AArch64::AEK_SPE_EEF}),
- AArch64CPUTestParams("neoverse-v3ae", "armv9.2-a", "neon-fp-armv8",
+ AArch64CPUTestParams("neoverse-v3ae", "armv9.2-a",
{AArch64::AEK_BF16, AArch64::AEK_I8MM,
AArch64::AEK_SVE, AArch64::AEK_SVE2,
AArch64::AEK_FP16, AArch64::AEK_DOTPROD,
@@ -1381,7 +1378,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_FCMA, AArch64::AEK_PERFMON,
AArch64::AEK_ETE, AArch64::AEK_SPE_EEF}),
AArch64CPUTestParams(
- "cortex-r82", "armv8-r", "crypto-neon-fp-armv8",
+ "cortex-r82", "armv8-r",
{AArch64::AEK_CRC, AArch64::AEK_RDM, AArch64::AEK_SSBS,
AArch64::AEK_DOTPROD, AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_FP16, AArch64::AEK_FP16FML, AArch64::AEK_RAS,
@@ -1390,7 +1387,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_FLAGM, AArch64::AEK_PERFMON, AArch64::AEK_PREDRES,
AArch64::AEK_CCDP}),
AArch64CPUTestParams(
- "cortex-r82ae", "armv8-r", "crypto-neon-fp-armv8",
+ "cortex-r82ae", "armv8-r",
{AArch64::AEK_CRC, AArch64::AEK_RDM, AArch64::AEK_SSBS,
AArch64::AEK_DOTPROD, AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_FP16, AArch64::AEK_FP16FML, AArch64::AEK_RAS,
@@ -1399,14 +1396,14 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_FLAGM, AArch64::AEK_PERFMON, AArch64::AEK_PREDRES,
AArch64::AEK_CCDP}),
AArch64CPUTestParams(
- "cortex-x1", "armv8.2-a", "crypto-neon-fp-armv8",
+ "cortex-x1", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP, AArch64::AEK_RDM,
AArch64::AEK_SIMD, AArch64::AEK_RAS, AArch64::AEK_LSE,
AArch64::AEK_FP16, AArch64::AEK_DOTPROD, AArch64::AEK_RCPC,
AArch64::AEK_SSBS, AArch64::AEK_PROFILE, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "cortex-x1c", "armv8.2-a", "crypto-neon-fp-armv8",
+ "cortex-x1c", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP, AArch64::AEK_RDM,
AArch64::AEK_SIMD, AArch64::AEK_RAS, AArch64::AEK_LSE,
@@ -1414,7 +1411,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_SSBS, AArch64::AEK_PAUTH, AArch64::AEK_PROFILE,
AArch64::AEK_FLAGM, AArch64::AEK_PERFMON, AArch64::AEK_LSE2,
AArch64::AEK_RCPC_IMMO}),
- AArch64CPUTestParams("cortex-x2", "armv9-a", "neon-fp-armv8",
+ AArch64CPUTestParams("cortex-x2", "armv9-a",
{AArch64::AEK_CRC, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_RAS,
AArch64::AEK_LSE, AArch64::AEK_RDM,
@@ -1428,7 +1425,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_JSCVT, AArch64::AEK_FCMA,
AArch64::AEK_PERFMON, AArch64::AEK_AM,
AArch64::AEK_ETE}),
- AArch64CPUTestParams("cortex-x3", "armv9-a", "neon-fp-armv8",
+ AArch64CPUTestParams("cortex-x3", "armv9-a",
{AArch64::AEK_CRC, AArch64::AEK_FP,
AArch64::AEK_BF16, AArch64::AEK_SIMD,
AArch64::AEK_RAS, AArch64::AEK_LSE,
@@ -1443,7 +1440,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_SSBS, AArch64::AEK_JSCVT,
AArch64::AEK_FCMA, AArch64::AEK_PERFMON,
AArch64::AEK_ETE, AArch64::AEK_TRBE}),
- AArch64CPUTestParams("cortex-x4", "armv9.2-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("cortex-x4", "armv9.2-a",
{AArch64::AEK_BF16, AArch64::AEK_I8MM,
AArch64::AEK_SVE, AArch64::AEK_SVE2,
AArch64::AEK_FP16, AArch64::AEK_DOTPROD,
@@ -1459,7 +1456,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_FCMA, AArch64::AEK_PERFMON,
AArch64::AEK_ETE, AArch64::AEK_SPE_EEF,
AArch64::AEK_TRBE}),
- AArch64CPUTestParams("cortex-x925", "armv9.2-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("cortex-x925", "armv9.2-a",
{AArch64::AEK_BF16, AArch64::AEK_I8MM,
AArch64::AEK_SVE, AArch64::AEK_SVE2,
AArch64::AEK_FP16, AArch64::AEK_DOTPROD,
@@ -1474,64 +1471,64 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_PROFILE, AArch64::AEK_JSCVT,
AArch64::AEK_FCMA, AArch64::AEK_ETE,
AArch64::AEK_SPE_EEF, AArch64::AEK_TRBE}),
- AArch64CPUTestParams("cyclone", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("cyclone", "armv8-a",
{AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("apple-a7", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("apple-a7", "armv8-a",
{AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("apple-a8", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("apple-a8", "armv8-a",
{AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("apple-a9", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("apple-a9", "armv8-a",
{AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("apple-a10", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("apple-a10", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP,
AArch64::AEK_RDM, AArch64::AEK_SIMD,
AArch64::AEK_PERFMON, AArch64::AEK_PAN,
AArch64::AEK_LOR, AArch64::AEK_VH}),
- AArch64CPUTestParams("apple-a11", "armv8.2-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("apple-a11", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP,
AArch64::AEK_LSE, AArch64::AEK_RAS,
AArch64::AEK_RDM, AArch64::AEK_SIMD,
AArch64::AEK_FP16, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "apple-a12", "armv8.3-a", "crypto-neon-fp-armv8",
+ "apple-a12", "armv8.3-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_LSE, AArch64::AEK_RAS, AArch64::AEK_RDM,
AArch64::AEK_RCPC, AArch64::AEK_FP16, AArch64::AEK_JSCVT,
AArch64::AEK_FCMA, AArch64::AEK_PAUTH, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "apple-s4", "armv8.3-a", "crypto-neon-fp-armv8",
+ "apple-s4", "armv8.3-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_LSE, AArch64::AEK_RAS, AArch64::AEK_RDM,
AArch64::AEK_RCPC, AArch64::AEK_FP16, AArch64::AEK_JSCVT,
AArch64::AEK_FCMA, AArch64::AEK_PAUTH, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "apple-s5", "armv8.3-a", "crypto-neon-fp-armv8",
+ "apple-s5", "armv8.3-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_LSE, AArch64::AEK_RAS, AArch64::AEK_RDM,
AArch64::AEK_RCPC, AArch64::AEK_FP16, AArch64::AEK_JSCVT,
AArch64::AEK_FCMA, AArch64::AEK_PAUTH, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "apple-a13", "armv8.4-a", "crypto-neon-fp-armv8",
+ "apple-a13", "armv8.4-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_SHA3, AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_LSE, AArch64::AEK_RAS, AArch64::AEK_RDM,
AArch64::AEK_RCPC, AArch64::AEK_DOTPROD, AArch64::AEK_FP16,
AArch64::AEK_FP16FML, AArch64::AEK_SHA3, AArch64::AEK_JSCVT,
AArch64::AEK_FCMA, AArch64::AEK_PAUTH, AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("apple-a14", "armv8.4-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("apple-a14", "armv8.4-a",
{AArch64::AEK_CRC,
AArch64::AEK_AES,
AArch64::AEK_SHA2,
@@ -1557,7 +1554,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_FRINT3264,
AArch64::AEK_SPECRESTRICT,
AArch64::AEK_ALTERNATIVENZCV}),
- AArch64CPUTestParams("apple-m1", "armv8.4-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("apple-m1", "armv8.4-a",
{AArch64::AEK_CRC,
AArch64::AEK_AES,
AArch64::AEK_SHA2,
@@ -1584,7 +1581,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_SPECRESTRICT,
AArch64::AEK_ALTERNATIVENZCV}),
AArch64CPUTestParams(
- "apple-a15", "armv8.6-a", "crypto-neon-fp-armv8",
+ "apple-a15", "armv8.6-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_SHA3, AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_LSE, AArch64::AEK_RAS, AArch64::AEK_RDM,
@@ -1593,7 +1590,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_I8MM, AArch64::AEK_JSCVT, AArch64::AEK_FCMA,
AArch64::AEK_PAUTH, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "apple-m2", "armv8.6-a", "crypto-neon-fp-armv8",
+ "apple-m2", "armv8.6-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_SHA3, AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_LSE, AArch64::AEK_RAS, AArch64::AEK_RDM,
@@ -1602,7 +1599,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_I8MM, AArch64::AEK_JSCVT, AArch64::AEK_FCMA,
AArch64::AEK_PAUTH, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "apple-a16", "armv8.6-a", "crypto-neon-fp-armv8",
+ "apple-a16", "armv8.6-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_SHA3, AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_LSE, AArch64::AEK_RAS, AArch64::AEK_RDM,
@@ -1611,7 +1608,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_I8MM, AArch64::AEK_JSCVT, AArch64::AEK_FCMA,
AArch64::AEK_PAUTH, AArch64::AEK_PERFMON, AArch64::AEK_HCX}),
AArch64CPUTestParams(
- "apple-m3", "armv8.6-a", "crypto-neon-fp-armv8",
+ "apple-m3", "armv8.6-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_SHA3, AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_LSE, AArch64::AEK_RAS, AArch64::AEK_RDM,
@@ -1620,7 +1617,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_I8MM, AArch64::AEK_JSCVT, AArch64::AEK_FCMA,
AArch64::AEK_PAUTH, AArch64::AEK_PERFMON, AArch64::AEK_HCX}),
AArch64CPUTestParams(
- "apple-a17", "armv8.6-a", "crypto-neon-fp-armv8",
+ "apple-a17", "armv8.6-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_SHA3, AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_LSE, AArch64::AEK_RAS, AArch64::AEK_RDM,
@@ -1628,7 +1625,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_FP16FML, AArch64::AEK_SHA3, AArch64::AEK_BF16,
AArch64::AEK_I8MM, AArch64::AEK_JSCVT, AArch64::AEK_FCMA,
AArch64::AEK_PAUTH, AArch64::AEK_PERFMON, AArch64::AEK_HCX}),
- AArch64CPUTestParams("apple-m4", "armv8.7-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("apple-m4", "armv8.7-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_SHA3,
AArch64::AEK_FP, AArch64::AEK_SIMD,
@@ -1641,46 +1638,46 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_SME, AArch64::AEK_SME2,
AArch64::AEK_SMEF64F64, AArch64::AEK_SMEI16I64,
AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("exynos-m3", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("exynos-m3", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "exynos-m4", "armv8.2-a", "crypto-neon-fp-armv8",
+ "exynos-m4", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_DOTPROD, AArch64::AEK_FP, AArch64::AEK_FP16,
AArch64::AEK_LSE, AArch64::AEK_RAS, AArch64::AEK_RDM,
AArch64::AEK_SIMD, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "exynos-m5", "armv8.2-a", "crypto-neon-fp-armv8",
+ "exynos-m5", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_DOTPROD, AArch64::AEK_FP, AArch64::AEK_FP16,
AArch64::AEK_LSE, AArch64::AEK_RAS, AArch64::AEK_RDM,
AArch64::AEK_SIMD, AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("falkor", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("falkor", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_RDM,
AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("kryo", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("kryo", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "neoverse-e1", "armv8.2-a", "crypto-neon-fp-armv8",
+ "neoverse-e1", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_DOTPROD, AArch64::AEK_FP, AArch64::AEK_FP16,
AArch64::AEK_LSE, AArch64::AEK_RAS, AArch64::AEK_RCPC,
AArch64::AEK_RDM, AArch64::AEK_SIMD, AArch64::AEK_SSBS,
AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "neoverse-n1", "armv8.2-a", "crypto-neon-fp-armv8",
+ "neoverse-n1", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_DOTPROD, AArch64::AEK_FP, AArch64::AEK_FP16,
AArch64::AEK_LSE, AArch64::AEK_PROFILE, AArch64::AEK_RAS,
AArch64::AEK_RCPC, AArch64::AEK_RDM, AArch64::AEK_SIMD,
AArch64::AEK_SSBS, AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("neoverse-n2", "armv9-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("neoverse-n2", "armv9-a",
{AArch64::AEK_CRC, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_FP16,
AArch64::AEK_RAS, AArch64::AEK_LSE,
@@ -1693,7 +1690,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_FCMA, AArch64::AEK_PAUTH,
AArch64::AEK_FP16FML, AArch64::AEK_PERFMON,
AArch64::AEK_ETE, AArch64::AEK_TRBE}),
- AArch64CPUTestParams("neoverse-n3", "armv9.2-a", "neon-fp-armv8",
+ AArch64CPUTestParams("neoverse-n3", "armv9.2-a",
{AArch64::AEK_BF16, AArch64::AEK_I8MM,
AArch64::AEK_SVE, AArch64::AEK_SVE2,
AArch64::AEK_FP16, AArch64::AEK_DOTPROD,
@@ -1710,7 +1707,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_JSCVT, AArch64::AEK_PERFMON,
AArch64::AEK_ETE, AArch64::AEK_SPE_EEF}),
AArch64CPUTestParams(
- "ampere1", "armv8.6-a", "crypto-neon-fp-armv8",
+ "ampere1", "armv8.6-a",
{AArch64::AEK_CRC, AArch64::AEK_FP, AArch64::AEK_FP16,
AArch64::AEK_SIMD, AArch64::AEK_RAS, AArch64::AEK_LSE,
AArch64::AEK_RDM, AArch64::AEK_RCPC, AArch64::AEK_DOTPROD,
@@ -1719,7 +1716,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_SB, AArch64::AEK_RAND, AArch64::AEK_JSCVT,
AArch64::AEK_FCMA, AArch64::AEK_PAUTH, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "ampere1a", "armv8.6-a", "crypto-neon-fp-armv8",
+ "ampere1a", "armv8.6-a",
{AArch64::AEK_CRC, AArch64::AEK_FP, AArch64::AEK_FP16,
AArch64::AEK_SIMD, AArch64::AEK_RAS, AArch64::AEK_LSE,
AArch64::AEK_RDM, AArch64::AEK_RCPC, AArch64::AEK_DOTPROD,
@@ -1729,7 +1726,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_MTE, AArch64::AEK_JSCVT, AArch64::AEK_FCMA,
AArch64::AEK_PAUTH, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "ampere1b", "armv8.7-a", "crypto-neon-fp-armv8",
+ "ampere1b", "armv8.7-a",
{AArch64::AEK_CRC, AArch64::AEK_FP, AArch64::AEK_FP16,
AArch64::AEK_SIMD, AArch64::AEK_RAS, AArch64::AEK_LSE,
AArch64::AEK_RDM, AArch64::AEK_RCPC, AArch64::AEK_DOTPROD,
@@ -1740,7 +1737,7 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_PAUTH, AArch64::AEK_CSSC, AArch64::AEK_PERFMON,
AArch64::AEK_WFXT}),
AArch64CPUTestParams(
- "neoverse-512tvb", "armv8.4-a", "crypto-neon-fp-armv8",
+ "neoverse-512tvb", "armv8.4-a",
{AArch64::AEK_RAS, AArch64::AEK_SVE, AArch64::AEK_SSBS,
AArch64::AEK_RCPC, AArch64::AEK_CRC, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_RAS, AArch64::AEK_LSE,
@@ -1751,58 +1748,57 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_I8MM, AArch64::AEK_JSCVT, AArch64::AEK_FCMA,
AArch64::AEK_PAUTH, AArch64::AEK_PERFMON, AArch64::AEK_CCDP}),
AArch64CPUTestParams("thunderx2t99", "armv8.1-a",
- "crypto-neon-fp-armv8",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_LSE,
AArch64::AEK_RDM, AArch64::AEK_FP,
AArch64::AEK_SIMD}),
AArch64CPUTestParams(
"thunderx3t110",
- "armv8.3-a", "crypto-neon-fp-armv8",
+ "armv8.3-a",
{AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_RAS, AArch64::AEK_RCPC,
AArch64::AEK_JSCVT, AArch64::AEK_FCMA, AArch64::AEK_PAUTH,
AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("thunderx", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("thunderx", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_SIMD,
AArch64::AEK_FP, AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("thunderxt81", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("thunderxt81", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_SIMD,
AArch64::AEK_FP, AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("thunderxt83", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("thunderxt83", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_SIMD,
AArch64::AEK_FP, AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("thunderxt88", "armv8-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("thunderxt88", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_SIMD,
AArch64::AEK_FP, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
- "tsv110", "armv8.2-a", "crypto-neon-fp-armv8",
+ "tsv110", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP, AArch64::AEK_SIMD,
AArch64::AEK_RAS, AArch64::AEK_LSE, AArch64::AEK_RDM,
AArch64::AEK_PROFILE, AArch64::AEK_JSCVT, AArch64::AEK_FCMA,
AArch64::AEK_FP16, AArch64::AEK_FP16FML, AArch64::AEK_DOTPROD,
AArch64::AEK_PERFMON}),
- AArch64CPUTestParams("a64fx", "armv8.2-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("a64fx", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_FP16,
AArch64::AEK_RAS, AArch64::AEK_LSE,
AArch64::AEK_SVE, AArch64::AEK_RDM,
AArch64::AEK_PERFMON, AArch64::AEK_FCMA}),
- AArch64CPUTestParams("carmel", "armv8.2-a", "crypto-neon-fp-armv8",
+ AArch64CPUTestParams("carmel", "armv8.2-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_FP,
AArch64::AEK_SIMD, AArch64::AEK_FP16,
AArch64::AEK_RAS, AArch64::AEK_LSE,
AArch64::AEK_RDM}),
AArch64CPUTestParams(
- "oryon-1", "armv8.6-a", "crypto-neon-fp-armv8",
+ "oryon-1", "armv8.6-a",
{AArch64::AEK_CRC, AArch64::AEK_FP, AArch64::AEK_PAUTH,
AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_SIMD,
AArch64::AEK_RAS, AArch64::AEK_LSE, AArch64::AEK_RDM,
>From f9bf3fc1f926498c8bfe147039e6029e2eda81d9 Mon Sep 17 00:00:00 2001
From: Jon Roelofs <jonathan_roelofs at apple.com>
Date: Wed, 10 Jul 2024 08:34:16 -0700
Subject: [PATCH 2/3] clang-format
---
.../TargetParser/TargetParserTest.cpp | 39 ++++++++++---------
1 file changed, 20 insertions(+), 19 deletions(-)
diff --git a/llvm/unittests/TargetParser/TargetParserTest.cpp b/llvm/unittests/TargetParser/TargetParserTest.cpp
index 3df0630979939..976829617e0f4 100644
--- a/llvm/unittests/TargetParser/TargetParserTest.cpp
+++ b/llvm/unittests/TargetParser/TargetParserTest.cpp
@@ -1076,7 +1076,8 @@ struct AArch64CPUTestParams
AArch64CPUTestParams(StringRef CPUName, StringRef ExpectedArch,
AArch64::ExtensionBitset ExpectedFlags)
: ARMCPUTestParams<AArch64::ExtensionBitset>(CPUName, ExpectedArch,
- /*ignored*/ "", ExpectedFlags,
+ /*ignored*/ "",
+ ExpectedFlags,
/*ignored*/ "") {}
/// Print a gtest-compatible facsimile of the CPUName, to make the test's name
/// human-readable.
@@ -1226,18 +1227,18 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
"cortex-a78", "armv8.2-a",
- {AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
- AArch64::AEK_FP, AArch64::AEK_RDM, AArch64::AEK_SIMD,
- AArch64::AEK_RAS, AArch64::AEK_LSE, AArch64::AEK_FP16,
- AArch64::AEK_DOTPROD, AArch64::AEK_RCPC, AArch64::AEK_SSBS,
- AArch64::AEK_PROFILE, AArch64::AEK_PERFMON}),
+ {AArch64::AEK_CRC, AArch64::AEK_AES,
+ AArch64::AEK_SHA2, AArch64::AEK_FP, AArch64::AEK_RDM,
+ AArch64::AEK_SIMD, AArch64::AEK_RAS, AArch64::AEK_LSE,
+ AArch64::AEK_FP16, AArch64::AEK_DOTPROD, AArch64::AEK_RCPC,
+ AArch64::AEK_SSBS, AArch64::AEK_PROFILE, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
"cortex-a78ae", "armv8.2-a",
- {AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
- AArch64::AEK_FP, AArch64::AEK_RDM, AArch64::AEK_SIMD,
- AArch64::AEK_RAS, AArch64::AEK_LSE, AArch64::AEK_FP16,
- AArch64::AEK_DOTPROD, AArch64::AEK_RCPC, AArch64::AEK_SSBS,
- AArch64::AEK_PROFILE, AArch64::AEK_PERFMON}),
+ {AArch64::AEK_CRC, AArch64::AEK_AES,
+ AArch64::AEK_SHA2, AArch64::AEK_FP, AArch64::AEK_RDM,
+ AArch64::AEK_SIMD, AArch64::AEK_RAS, AArch64::AEK_LSE,
+ AArch64::AEK_FP16, AArch64::AEK_DOTPROD, AArch64::AEK_RCPC,
+ AArch64::AEK_SSBS, AArch64::AEK_PROFILE, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
"cortex-a78c", "armv8.2-a",
{AArch64::AEK_RAS, AArch64::AEK_CRC, AArch64::AEK_AES,
@@ -1752,14 +1753,14 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_SHA2, AArch64::AEK_LSE,
AArch64::AEK_RDM, AArch64::AEK_FP,
AArch64::AEK_SIMD}),
- AArch64CPUTestParams(
- "thunderx3t110",
- "armv8.3-a",
- {AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
- AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_FP,
- AArch64::AEK_SIMD, AArch64::AEK_RAS, AArch64::AEK_RCPC,
- AArch64::AEK_JSCVT, AArch64::AEK_FCMA, AArch64::AEK_PAUTH,
- AArch64::AEK_PERFMON}),
+ AArch64CPUTestParams("thunderx3t110", "armv8.3-a",
+ {AArch64::AEK_CRC, AArch64::AEK_AES,
+ AArch64::AEK_SHA2, AArch64::AEK_LSE,
+ AArch64::AEK_RDM, AArch64::AEK_FP,
+ AArch64::AEK_SIMD, AArch64::AEK_RAS,
+ AArch64::AEK_RCPC, AArch64::AEK_JSCVT,
+ AArch64::AEK_FCMA, AArch64::AEK_PAUTH,
+ AArch64::AEK_PERFMON}),
AArch64CPUTestParams("thunderx", "armv8-a",
{AArch64::AEK_CRC, AArch64::AEK_AES,
AArch64::AEK_SHA2, AArch64::AEK_SIMD,
>From 4f444b7b2097aae26405bb252807222e65bc4340 Mon Sep 17 00:00:00 2001
From: Jon Roelofs <jonathan_roelofs at apple.com>
Date: Wed, 10 Jul 2024 08:54:55 -0700
Subject: [PATCH 3/3] clang-format again
---
.../TargetParser/TargetParserTest.cpp | 20 +++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/llvm/unittests/TargetParser/TargetParserTest.cpp b/llvm/unittests/TargetParser/TargetParserTest.cpp
index 976829617e0f4..716ad26687377 100644
--- a/llvm/unittests/TargetParser/TargetParserTest.cpp
+++ b/llvm/unittests/TargetParser/TargetParserTest.cpp
@@ -1227,18 +1227,18 @@ INSTANTIATE_TEST_SUITE_P(
AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
"cortex-a78", "armv8.2-a",
- {AArch64::AEK_CRC, AArch64::AEK_AES,
- AArch64::AEK_SHA2, AArch64::AEK_FP, AArch64::AEK_RDM,
- AArch64::AEK_SIMD, AArch64::AEK_RAS, AArch64::AEK_LSE,
- AArch64::AEK_FP16, AArch64::AEK_DOTPROD, AArch64::AEK_RCPC,
- AArch64::AEK_SSBS, AArch64::AEK_PROFILE, AArch64::AEK_PERFMON}),
+ {AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
+ AArch64::AEK_FP, AArch64::AEK_RDM, AArch64::AEK_SIMD,
+ AArch64::AEK_RAS, AArch64::AEK_LSE, AArch64::AEK_FP16,
+ AArch64::AEK_DOTPROD, AArch64::AEK_RCPC, AArch64::AEK_SSBS,
+ AArch64::AEK_PROFILE, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
"cortex-a78ae", "armv8.2-a",
- {AArch64::AEK_CRC, AArch64::AEK_AES,
- AArch64::AEK_SHA2, AArch64::AEK_FP, AArch64::AEK_RDM,
- AArch64::AEK_SIMD, AArch64::AEK_RAS, AArch64::AEK_LSE,
- AArch64::AEK_FP16, AArch64::AEK_DOTPROD, AArch64::AEK_RCPC,
- AArch64::AEK_SSBS, AArch64::AEK_PROFILE, AArch64::AEK_PERFMON}),
+ {AArch64::AEK_CRC, AArch64::AEK_AES, AArch64::AEK_SHA2,
+ AArch64::AEK_FP, AArch64::AEK_RDM, AArch64::AEK_SIMD,
+ AArch64::AEK_RAS, AArch64::AEK_LSE, AArch64::AEK_FP16,
+ AArch64::AEK_DOTPROD, AArch64::AEK_RCPC, AArch64::AEK_SSBS,
+ AArch64::AEK_PROFILE, AArch64::AEK_PERFMON}),
AArch64CPUTestParams(
"cortex-a78c", "armv8.2-a",
{AArch64::AEK_RAS, AArch64::AEK_CRC, AArch64::AEK_AES,
More information about the llvm-commits
mailing list