diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-11-29 00:42:50 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-11-29 00:42:50 +0000 |
commit | d19ac0c75a019273e03922e2252ed262578a43d1 (patch) | |
tree | d101f888529f4ca448e74ad039ec91a69e15c86a /test/MC/ARM | |
parent | b4b544debac44da375d316e410ec447d967036a9 (diff) | |
download | external_llvm-d19ac0c75a019273e03922e2252ed262578a43d1.zip external_llvm-d19ac0c75a019273e03922e2252ed262578a43d1.tar.gz external_llvm-d19ac0c75a019273e03922e2252ed262578a43d1.tar.bz2 |
Add Thumb encodings for REV instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM')
-rw-r--r-- | test/MC/ARM/thumb.s | 9 |
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 |