mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-10 06:25:01 +00:00
Thumb2 assembly parsing and encoding for REV.
llvm-svn: 139813
This commit is contained in:
parent
7c1422b068
commit
9d7aa9bcbc
@ -3841,3 +3841,5 @@ def : t2InstAlias<"push${p} $regs", (t2STMDB_UPD SP, pred:$p, reglist:$regs)>;
|
||||
def : t2InstAlias<"pop${p}.w $regs", (t2LDMIA_UPD SP, pred:$p, reglist:$regs)>;
|
||||
def : t2InstAlias<"pop${p} $regs", (t2LDMIA_UPD SP, pred:$p, reglist:$regs)>;
|
||||
|
||||
// Alias for REV without the ".w" optional width specifier.
|
||||
def : t2InstAlias<"rev${p} $Rd, $Rm", (t2REV rGPR:$Rd, rGPR:$Rm, pred:$p)>;
|
||||
|
@ -1425,6 +1425,22 @@ _func:
|
||||
@ CHECK: rbitne r1, r2 @ encoding: [0x92,0xfa,0xa2,0xf1]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ REV
|
||||
@------------------------------------------------------------------------------
|
||||
rev.w r1, r2
|
||||
rev r2, r8
|
||||
itt ne
|
||||
revne r1, r2
|
||||
revne r1, r8
|
||||
|
||||
@ CHECK: rev.w r1, r2 @ encoding: [0x92,0xfa,0x82,0xf1]
|
||||
@ CHECK: rev.w r2, r8 @ encoding: [0x98,0xfa,0x88,0xf2]
|
||||
@ CHECK: itt ne @ encoding: [0x1c,0xbf]
|
||||
@ CHECK: revne r1, r2 @ encoding: [0x11,0xba]
|
||||
@ CHECK: revne.w r1, r8 @ encoding: [0x98,0xfa,0x88,0xf1]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ SUB (register)
|
||||
@------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user