projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aef508d
)
Thumb parsing and encoding for REV/REV16/REVSH.
author
Jim Grosbach
<grosbach@apple.com>
Mon, 22 Aug 2011 23:39:25 +0000
(23:39 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Mon, 22 Aug 2011 23:39:25 +0000
(23:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138303
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/MC/ARM/basic-thumb-instructions.s
patch
|
blob
|
history
diff --git
a/test/MC/ARM/basic-thumb-instructions.s
b/test/MC/ARM/basic-thumb-instructions.s
index e5f28ec4571eb18e6e06baac76943801dc92d05a..62db8b9a5170ff8628a922b09ccdc6785974cd3f 100644
(file)
--- a/
test/MC/ARM/basic-thumb-instructions.s
+++ b/
test/MC/ARM/basic-thumb-instructions.s
@@
-379,3
+379,15
@@
_func:
push {r1, r2, r7}
@ CHECK: push {r1, r2, r7} @ encoding: [0x86,0xb4]
+
+
+@------------------------------------------------------------------------------
+@ REV/REV16/REVSH
+@------------------------------------------------------------------------------
+ rev r6, r3
+ rev16 r7, r2
+ revsh r5, r1
+
+@ CHECK: rev r6, r3 @ encoding: [0x1e,0xba]
+@ CHECK: rev16 r7, r2 @ encoding: [0x57,0xba]
+@ CHECK: revsh r5, r1 @ encoding: [0xcd,0xba]