[PATCH] D76077: [ARM] Add __bf16 as new Bfloat16 C Type
Ties Stuij via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 18 02:06:02 PDT 2020
stuij updated this revision to Diff 264560.
stuij added a comment.
addressing review comments and adding Simon Tatham to contributers
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76077/new/
https://reviews.llvm.org/D76077
Files:
clang/include/clang/Basic/arm_neon.td
Index: clang/include/clang/Basic/arm_neon.td
===================================================================
--- clang/include/clang/Basic/arm_neon.td
+++ clang/include/clang/Basic/arm_neon.td
@@ -247,6 +247,12 @@
"UcUsUicsilPcPsfQUcQUsQUiQcQsQiQPcQPsQflUlQlQUlhdQhQdPlQPl"> {
let isLaneQ = 1;
}
+let ArchGuard = "defined(__ARM_FEATURE_BF16_VECTOR_ARITHMETIC)" in {
+ def SPLAT_BF : WInst<"splat_lane", ".(!q)I", "bQb">;
+ def SPLATQ_BF : WInst<"splat_laneq", ".(!Q)I", "bQb"> {
+ let isLaneQ = 1;
+ }
+}
//===----------------------------------------------------------------------===//
// Intrinsics
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76077.264560.patch
Type: text/x-patch
Size: 639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200518/441d3f8c/attachment.bin>
More information about the cfe-commits
mailing list