[PATCH] D56128: [AArch64] Accept "sve" as arch feature in assembler
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 28 05:00:40 PST 2018
mstorsjo created this revision.
mstorsjo added reviewers: echristo, compnerd, peter.smith, sdesmalen.
Herald added subscribers: kristof.beyls, tschuett, javed.absar.
Repository:
rL LLVM
https://reviews.llvm.org/D56128
Files:
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
test/MC/AArch64/SVE/directive-arch.s
Index: test/MC/AArch64/SVE/directive-arch.s
===================================================================
--- /dev/null
+++ test/MC/AArch64/SVE/directive-arch.s
@@ -0,0 +1,6 @@
+// RUN: llvm-mc -triple=aarch64 < %s | FileCheck %s
+
+.arch armv8-a+sve
+
+ptrue p0.b, pow2
+// CHECK: ptrue p0.b, pow2
Index: lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
===================================================================
--- lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+++ lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
@@ -2831,6 +2831,7 @@
{"tlb-rmi", {AArch64::FeatureTLB_RMI}},
{"pan-rwv", {AArch64::FeaturePAN_RWV}},
{"ccpp", {AArch64::FeatureCCPP}},
+ {"sve", {AArch64::FeatureSVE}},
// FIXME: Unsupported extensions
{"pan", {}},
{"lor", {}},
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56128.179627.patch
Type: text/x-patch
Size: 804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181228/3a250017/attachment.bin>
More information about the llvm-commits
mailing list