[PATCH] D98566: [AArch64] Parse "rng" feature flag in .arch directive
Roland McGrath via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 16 14:10:36 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd5df500ab83b: [AArch64] Parse "rng" feature flag in .arch directive (authored by mcgrathr).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98566/new/
https://reviews.llvm.org/D98566
Files:
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/test/MC/AArch64/directive-arch.s
Index: llvm/test/MC/AArch64/directive-arch.s
===================================================================
--- llvm/test/MC/AArch64/directive-arch.s
+++ llvm/test/MC/AArch64/directive-arch.s
@@ -17,3 +17,9 @@
.arch armv8-a+lse
casa w5, w7, [x20]
# CHECK: casa w5, w7, [x20]
+
+ .arch armv8.5-a+rng
+ mrs x0, rndr
+ mrs x0, rndrrs
+# CHECK: mrs x0, RNDR
+# CHECK: mrs x0, RNDRRS
Index: llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
===================================================================
--- llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+++ llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
@@ -2909,6 +2909,7 @@
{"pan-rwv", {AArch64::FeaturePAN_RWV}},
{"ccpp", {AArch64::FeatureCCPP}},
{"rcpc", {AArch64::FeatureRCPC}},
+ {"rng", {AArch64::FeatureRandGen}},
{"sve", {AArch64::FeatureSVE}},
{"sve2", {AArch64::FeatureSVE2}},
{"sve2-aes", {AArch64::FeatureSVE2AES}},
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98566.331103.patch
Type: text/x-patch
Size: 982 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210316/a2f556cd/attachment.bin>
More information about the llvm-commits
mailing list