[clang] [Clang][AArch64]Add FP8 ACLE macros implementation (PR #140591)
Paul Walker via cfe-commits
cfe-commits at lists.llvm.org
Tue May 20 03:57:56 PDT 2025
================
@@ -1046,6 +1082,29 @@ bool AArch64TargetInfo::handleTargetFeatures(std::vector<std::string> &Features,
HasSVEB16B16 = true;
HasSMEB16B16 = true;
}
+
+ if (Feature == "+fp8")
+ HasFP8 = true;
+ if (Feature == "+fp8fma")
+ HasFP8FMA = true;
+ if (Feature == "+fp8dot2")
+ HasFP8DOT2 = true;
+ if (Feature == "+fp8dot4")
+ HasFP8DOT4 = true;
+ if (Feature == "+ssve-fp8dot2")
+ HasSSVE_FP8DOT2 = true;
----------------
paulwalker-arm wrote:
This and the other `SSVE` features should also set `HasSME2`?
https://github.com/llvm/llvm-project/pull/140591
More information about the cfe-commits
mailing list