mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-06 09:44:39 +00:00
Thumb parsing and encoding for REV/REV16/REVSH.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138303 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aef508dfc1
commit
ab585e6146
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user