mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 21:20:37 +00:00
Thumb2 assembly parsing and encoding for USAX.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140119 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
653419fff0
commit
6053cd956f
@ -4962,6 +4962,8 @@ def : MnemonicAlias<"uhsubaddx", "uhsax">;
|
||||
def : MnemonicAlias<"uqaddsubx", "uqasx">;
|
||||
// UQSAX == UQSUBADDX
|
||||
def : MnemonicAlias<"uqsubaddx", "uqsax">;
|
||||
// USAX == USUBADDX
|
||||
def : MnemonicAlias<"usubaddx", "usax">;
|
||||
|
||||
// LDRSBT/LDRHT/LDRSHT post-index offset if optional.
|
||||
// Note that the write-back output register is a dummy operand for MC (it's
|
||||
|
@ -2912,3 +2912,21 @@ _func:
|
||||
|
||||
@ CHECK: usat16 r2, #2, r7 @ encoding: [0xa7,0xf3,0x02,0x02]
|
||||
@ CHECK: usat16 r3, #15, r5 @ encoding: [0xa5,0xf3,0x0f,0x03]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ USAX
|
||||
@------------------------------------------------------------------------------
|
||||
usax r2, r3, r4
|
||||
it ne
|
||||
usaxne r6, r1, r9
|
||||
usubaddx r2, r3, r4
|
||||
it ne
|
||||
usubaddxne r6, r1, r9
|
||||
|
||||
@ CHECK: usax r2, r3, r4 @ encoding: [0xe3,0xfa,0x44,0xf2]
|
||||
@ CHECK: it ne @ encoding: [0x18,0xbf]
|
||||
@ CHECK: usaxne r6, r1, r9 @ encoding: [0xe1,0xfa,0x49,0xf6]
|
||||
@ CHECK: usax r2, r3, r4 @ encoding: [0xe3,0xfa,0x44,0xf2]
|
||||
@ CHECK: it ne @ encoding: [0x18,0xbf]
|
||||
@ CHECK: usaxne r6, r1, r9 @ encoding: [0xe1,0xfa,0x49,0xf6]
|
||||
|
Loading…
Reference in New Issue
Block a user