[clang] [AArch64][SME2] Enable bfm builtins for sme2 (PR #71927)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 13 01:50:12 PST 2023
================
@@ -1992,3 +1986,12 @@ let TargetGuard = "sme2" in {
def SVADD_SINGLE_X2 : SInst<"svadd[_single_{d}_x2]", "22d", "cUcsUsiUilUl", MergeNone, "aarch64_sve_add_single_x2", [IsStreaming], []>;
def SVADD_SINGLE_X4 : SInst<"svadd[_single_{d}_x4]", "44d", "cUcsUsiUilUl", MergeNone, "aarch64_sve_add_single_x4", [IsStreaming], []>;
}
+
+let TargetGuard = "sve2p1|sme2" in {
+// == BFloat16 multiply-subtract ==
+ def SVBFMLSLB : SInst<"svbfmlslb[_{d}]", "dd$$", "f", MergeNone, "aarch64_sve_bfmlslb", [IsOverloadNone], []>;
----------------
CarolineConcatto wrote:
Should we not add here that this is streaming compatible?
I can see: [CheckSVEEnabled](https://developer.arm.com/documentation/ddi0602/2022-09/Shared-Pseudocode/AArch64-Functions?lang=en#impl-aarch64.CheckSVEEnabled.0)();
https://github.com/llvm/llvm-project/pull/71927
More information about the cfe-commits
mailing list