mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 13:51:37 +00:00
Thumb2 assembly parsing and encoding for SHASX/SHSAX.
llvm-svn: 139870
This commit is contained in:
parent
0e654e52d9
commit
423aae30b2
@ -4946,6 +4946,10 @@ def : MnemonicAlias<"srs", "srsia">;
|
||||
def : MnemonicAlias<"qsubaddx", "qsax">;
|
||||
// SASX == SADDSUBX
|
||||
def : MnemonicAlias<"saddsubx", "sasx">;
|
||||
// SHASX == SHADDSUBX
|
||||
def : MnemonicAlias<"shaddsubx", "shasx">;
|
||||
// SHSAX == SHSUBADDX
|
||||
def : MnemonicAlias<"shsubaddx", "shsax">;
|
||||
|
||||
// LDRSBT/LDRHT/LDRSHT post-index offset if optional.
|
||||
// Note that the write-back output register is a dummy operand for MC (it's
|
||||
|
@ -1678,6 +1678,42 @@ _func:
|
||||
@ CHECK: seveq.w @ encoding: [0xaf,0xf3,0x04,0x80]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ SHASX
|
||||
@------------------------------------------------------------------------------
|
||||
shasx r4, r8, r2
|
||||
it gt
|
||||
shasxgt r4, r8, r2
|
||||
shaddsubx r4, r8, r2
|
||||
it gt
|
||||
shaddsubxgt r4, r8, r2
|
||||
|
||||
@ CHECK: shasx r4, r8, r2 @ encoding: [0xa8,0xfa,0x22,0xf4]
|
||||
@ CHECK: it gt @ encoding: [0xc8,0xbf]
|
||||
@ CHECK: shasxgt r4, r8, r2 @ encoding: [0xa8,0xfa,0x22,0xf4]
|
||||
@ CHECK: shasx r4, r8, r2 @ encoding: [0xa8,0xfa,0x22,0xf4]
|
||||
@ CHECK: it gt @ encoding: [0xc8,0xbf]
|
||||
@ CHECK: shasxgt r4, r8, r2 @ encoding: [0xa8,0xfa,0x22,0xf4]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ SHASX
|
||||
@------------------------------------------------------------------------------
|
||||
shsax r4, r8, r2
|
||||
it gt
|
||||
shsaxgt r4, r8, r2
|
||||
shsubaddx r4, r8, r2
|
||||
it gt
|
||||
shsubaddxgt r4, r8, r2
|
||||
|
||||
@ CHECK: shsax r4, r8, r2 @ encoding: [0xe8,0xfa,0x22,0xf4]
|
||||
@ CHECK: it gt @ encoding: [0xc8,0xbf]
|
||||
@ CHECK: shsaxgt r4, r8, r2 @ encoding: [0xe8,0xfa,0x22,0xf4]
|
||||
@ CHECK: shsax r4, r8, r2 @ encoding: [0xe8,0xfa,0x22,0xf4]
|
||||
@ CHECK: it gt @ encoding: [0xc8,0xbf]
|
||||
@ CHECK: shsaxgt r4, r8, r2 @ encoding: [0xe8,0xfa,0x22,0xf4]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ SUB (register)
|
||||
@------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user