diff options
author | Yuta Mukai <mukai.yuta@fujitsu.com> | 2025-05-09 17:07:19 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-09 17:07:19 +0900 |
commit | 9d5a5424f0356bd6ee01c751dd6957299783b41b (patch) | |
tree | 2d9d0b64425e8a4ed265b27d4d666e33e33bde2e | |
parent | fff12fbdb9a20d353cc578076232dcb3f5c60586 (diff) | |
download | llvm-9d5a5424f0356bd6ee01c751dd6957299783b41b.zip llvm-9d5a5424f0356bd6ee01c751dd6957299783b41b.tar.gz llvm-9d5a5424f0356bd6ee01c751dd6957299783b41b.tar.bz2 |
[AArch64] Fix feature list for FUJITSU-MONAKA processor (#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.
-rw-r--r-- | clang/test/Driver/print-enabled-extensions/aarch64-fujitsu-monaka.c | 2 | ||||
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64Processors.td | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/Driver/print-enabled-extensions/aarch64-fujitsu-monaka.c b/clang/test/Driver/print-enabled-extensions/aarch64-fujitsu-monaka.c index a80d0f5..29e9682 100644 --- a/clang/test/Driver/print-enabled-extensions/aarch64-fujitsu-monaka.c +++ b/clang/test/Driver/print-enabled-extensions/aarch64-fujitsu-monaka.c @@ -28,6 +28,8 @@ // CHECK-NEXT: FEAT_FP16 Enable half-precision floating-point data processing // CHECK-NEXT: FEAT_FP8 Enable FP8 instructions // CHECK-NEXT: FEAT_FP8DOT2 Enable FP8 2-way dot instructions +// CHECK-NEXT: FEAT_FP8DOT4 Enable FP8 4-way dot instructions +// CHECK-NEXT: FEAT_FP8FMA Enable Armv9.5-A FP8 multiply-add instructions // CHECK-NEXT: FEAT_FPAC Enable Armv8.3-A Pointer Authentication Faulting enhancement // 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 // CHECK-NEXT: FEAT_FlagM Enable Armv8.4-A Flag Manipulation instructions diff --git a/llvm/lib/Target/AArch64/AArch64Processors.td b/llvm/lib/Target/AArch64/AArch64Processors.td index ea4a6a4..e0df19b 100644 --- a/llvm/lib/Target/AArch64/AArch64Processors.td +++ b/llvm/lib/Target/AArch64/AArch64Processors.td @@ -881,7 +881,8 @@ def ProcessorFeatures { FeatureSSBS, FeatureLS64, FeatureCLRBHB, FeatureSPECRES2, FeatureSVEAES, FeatureSVE2SM4, FeatureSVE2SHA3, FeatureSVE2, FeatureSVEBitPerm, FeatureETE, - FeatureMEC, FeatureFAMINMAX, FeatureFP8DOT2, FeatureLUT]; + FeatureMEC, FeatureFAMINMAX, FeatureFP8DOT2, FeatureFP8DOT4, + FeatureFP8FMA, FeatureLUT]; list<SubtargetFeature> Carmel = [HasV8_2aOps, FeatureNEON, FeatureSHA2, FeatureAES, FeatureFullFP16, FeatureCRC, FeatureLSE, FeatureRAS, FeatureRDM, FeatureFPARMv8]; |