Skip to content

Commit f233430

Browse files
ytmukaitstellar
authored andcommitted
[AArch64] Fix feature list for FUJITSU-MONAKA processor (llvm#139212)
FEAT_FP8DOT4 and FEAT_FP8FMA are supported by FUJITSU-MONAKA. These were previously enabled due to dependencies, but now require explicit activation due to modifications in the dependencies. (cherry picked from commit 9d5a542)
1 parent 41c36d9 commit f233430

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

clang/test/Driver/print-enabled-extensions/aarch64-fujitsu-monaka.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
// CHECK-NEXT: FEAT_FP16 Enable half-precision floating-point data processing
2929
// CHECK-NEXT: FEAT_FP8 Enable FP8 instructions
3030
// CHECK-NEXT: FEAT_FP8DOT2 Enable FP8 2-way dot instructions
31+
// CHECK-NEXT: FEAT_FP8DOT4 Enable FP8 4-way dot instructions
32+
// CHECK-NEXT: FEAT_FP8FMA Enable Armv9.5-A FP8 multiply-add instructions
3133
// CHECK-NEXT: FEAT_FPAC Enable Armv8.3-A Pointer Authentication Faulting enhancement
3234
// CHECK-NEXT: FEAT_FRINTTS Enable FRInt[32|64][Z|X] instructions that round a floating-point number to an integer (in FP format) forcing it to fit into a 32- or 64-bit int
3335
// CHECK-NEXT: FEAT_FlagM Enable Armv8.4-A Flag Manipulation instructions

llvm/lib/Target/AArch64/AArch64Processors.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,8 @@ def ProcessorFeatures {
868868
FeatureSSBS, FeatureLS64, FeatureCLRBHB,
869869
FeatureSPECRES2, FeatureSVEAES, FeatureSVE2SM4,
870870
FeatureSVE2SHA3, FeatureSVE2, FeatureSVEBitPerm, FeatureETE,
871-
FeatureMEC, FeatureFAMINMAX, FeatureFP8DOT2, FeatureLUT];
871+
FeatureMEC, FeatureFAMINMAX, FeatureFP8DOT2, FeatureFP8DOT4,
872+
FeatureFP8FMA, FeatureLUT];
872873
list<SubtargetFeature> Carmel = [HasV8_2aOps, FeatureNEON, FeatureSHA2, FeatureAES,
873874
FeatureFullFP16, FeatureCRC, FeatureLSE, FeatureRAS, FeatureRDM,
874875
FeatureFPARMv8];

0 commit comments

Comments
 (0)