summaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/thumb2_instructions.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/thumb2_instructions.s')
-rw-r--r--test/MC/ARM/thumb2_instructions.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/ARM/thumb2_instructions.s b/test/MC/ARM/thumb2_instructions.s
new file mode 100644
index 0000000..71cd4ae
--- /dev/null
+++ b/test/MC/ARM/thumb2_instructions.s
@@ -0,0 +1,12 @@
+@ RUN: llvm-mc -triple thumbv7-unknown-unknown -show-encoding %s > %t
+@ RUN: FileCheck < %t %s
+
+ .syntax unified
+ .text
+
+@ FIXME: This is not the correct instruction representation, but at least we are
+@ parsing the ldr to something.
+@
+@ CHECK: ldr r0, [r7, #258]
+ ldr r0, [r7, #-8]
+
OpenPOWER on IntegriCloud