summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorBradley Smith <bradley.smith@arm.com>2014-04-09 14:43:01 +0000
committerBradley Smith <bradley.smith@arm.com>2014-04-09 14:43:01 +0000
commit436fe613fc88c22f0e25d816f2c2e15c16b0c479 (patch)
tree0ace8d4248dd435145e2697914fe7e828d7bfe80 /test/MC
parentdcb9231b8aee77c4b63dc6d5affb02cf9535a8ed (diff)
downloadllvm-436fe613fc88c22f0e25d816f2c2e15c16b0c479.tar.gz
llvm-436fe613fc88c22f0e25d816f2c2e15c16b0c479.tar.bz2
llvm-436fe613fc88c22f0e25d816f2c2e15c16b0c479.tar.xz
[ARM64] Port over the PostEncoderMethod from AArch64 for exclusive loads and stores, so the unused register fields are set to all-ones canonically but are recognised with any value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205874 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/Disassembler/ARM64/canonical-form.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/Disassembler/ARM64/canonical-form.txt b/test/MC/Disassembler/ARM64/canonical-form.txt
new file mode 100644
index 0000000000..6aaa5da398
--- /dev/null
+++ b/test/MC/Disassembler/ARM64/canonical-form.txt
@@ -0,0 +1,5 @@
+# RUN: llvm-mc -triple arm64-apple-darwin --disassemble < %s | FileCheck %s
+
+0x00 0x08 0x00 0xc8
+
+# CHECK: stxr w0, x0, [x0]