Skip to content

Commit e5e7781

Browse files
author
Evandro Menezes
committed
[AArch64] Update for Exynos
Fix the feature set for Exynos M4 by removing support for `+fp16fml` and fix test case. llvm-svn: 356698
1 parent ae672b4 commit e5e7781

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

llvm/lib/Target/AArch64/AArch64.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ def ProcExynosM4 : SubtargetFeature<"exynosm4", "ARMProcFamily", "ExynosM3",
573573
FeatureDotProd,
574574
FeatureExynosCheapAsMoveHandling,
575575
FeatureForce32BitJumpTables,
576-
FeatureFP16FML,
576+
FeatureFullFP16,
577577
FeatureFuseAddress,
578578
FeatureFuseAES,
579579
FeatureFuseArithmeticLogic,

llvm/unittests/Support/TargetParserTest.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -899,15 +899,15 @@ TEST(TargetParserTest, testAArch64Extension) {
899899
EXPECT_FALSE(testAArch64Extension("exynos-m3",
900900
AArch64::ArchKind::INVALID, "ras"));
901901
EXPECT_TRUE(testAArch64Extension("exynos-m4",
902-
AArch64::ArchKind::INVALID, "lse"));
902+
AArch64::ArchKind::INVALID, "dotprod"));
903903
EXPECT_TRUE(testAArch64Extension("exynos-m4",
904-
AArch64::ArchKind::INVALID, "rdm"));
904+
AArch64::ArchKind::INVALID, "fp16"));
905+
EXPECT_TRUE(testAArch64Extension("exynos-m4",
906+
AArch64::ArchKind::INVALID, "lse"));
905907
EXPECT_TRUE(testAArch64Extension("exynos-m4",
906908
AArch64::ArchKind::INVALID, "ras"));
907-
EXPECT_FALSE(testAArch64Extension("exynos-m4",
908-
AArch64::ArchKind::INVALID, "fullfp16"));
909909
EXPECT_TRUE(testAArch64Extension("exynos-m4",
910-
AArch64::ArchKind::INVALID, "dotprod"));
910+
AArch64::ArchKind::INVALID, "rdm"));
911911
EXPECT_TRUE(testAArch64Extension("falkor",
912912
AArch64::ArchKind::INVALID, "rdm"));
913913
EXPECT_FALSE(testAArch64Extension("kryo",

0 commit comments

Comments
 (0)