aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/thumb.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/thumb.s')
-rw-r--r--test/MC/ARM/thumb.s9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/MC/ARM/thumb.s b/test/MC/ARM/thumb.s
index 20ff022..7e7dde3 100644
--- a/test/MC/ARM/thumb.s
+++ b/test/MC/ARM/thumb.s
@@ -1,4 +1,4 @@
-@ RUN: llvm-mc -triple thumb-apple-darwin -show-encoding < %s | FileCheck %s
+@ RUN: llvm-mc -triple thumbv6-apple-darwin -show-encoding < %s | FileCheck %s
.code 16
@ CHECK: cmp r1, r2 @ encoding: [0x91,0x42]
@@ -12,3 +12,10 @@
@ CHECK: blx r9 @ encoding: [0xc8,0x47]
blx r9
+
+@ CHECK: rev r2, r3 @ encoding: [0x1a,0xba]
+@ CHECK: rev16 r3, r4 @ encoding: [0x63,0xba]
+@ CHECK: revsh r5, r6 @ encoding: [0xf5,0xba]
+ rev r2, r3
+ rev16 r3, r4
+ revsh r5, r6