[PATCH] D99209: [AArch64] Support .arch_extension pan
Roland McGrath via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 24 11:29:42 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3cb234698239: [AArch64] Support .arch_extension pan (authored by mcgrathr).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99209/new/
https://reviews.llvm.org/D99209
Files:
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/test/MC/AArch64/directive-arch_extension.s
Index: llvm/test/MC/AArch64/directive-arch_extension.s
===================================================================
--- llvm/test/MC/AArch64/directive-arch_extension.s
+++ llvm/test/MC/AArch64/directive-arch_extension.s
@@ -56,6 +56,10 @@
tlbi vmalle1os
// CHECK: tlbi vmalle1os
+.arch_extension pan
+mrs x0, pan
+// CHECK: mrs x0, PAN
+
.arch_extension pan-rwv
at s1e1wp, x2
// CHECK: at s1e1wp, x2
Index: llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
===================================================================
--- llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+++ llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
@@ -2906,6 +2906,7 @@
{"mte", {AArch64::FeatureMTE}},
{"memtag", {AArch64::FeatureMTE}},
{"tlb-rmi", {AArch64::FeatureTLB_RMI}},
+ {"pan", {AArch64::FeaturePAN}},
{"pan-rwv", {AArch64::FeaturePAN_RWV}},
{"ccpp", {AArch64::FeatureCCPP}},
{"rcpc", {AArch64::FeatureRCPC}},
@@ -2921,7 +2922,6 @@
{"pauth", {AArch64::FeaturePAuth}},
{"flagm", {AArch64::FeatureFlagM}},
// FIXME: Unsupported extensions
- {"pan", {}},
{"lor", {}},
{"rdma", {}},
{"profile", {}},
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99209.333068.patch
Type: text/x-patch
Size: 1185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210324/5b0e85d7/attachment.bin>
More information about the llvm-commits
mailing list