Thumb2 assembly parsing and encoding for SSUB16/SSUB8.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139931 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2011-09-16 18:52:36 +00:00
parent 50bd470d85
commit 3335029b1f

View File

@ -2092,6 +2092,22 @@ _func:
@ CHECK: ssaxlt r2, r3, r4 @ encoding: [0xe3,0xfa,0x04,0xf2]
@------------------------------------------------------------------------------
@ SSUB16/SSUB8
@------------------------------------------------------------------------------
ssub16 r1, r0, r6
ssub8 r9, r2, r4
ite ne
ssub16ne r5, r3, r2
ssub8eq r5, r1, r2
@ CHECK: ssub16 r1, r0, r6 @ encoding: [0xd0,0xfa,0x06,0xf1]
@ CHECK: ssub8 r9, r2, r4 @ encoding: [0xc2,0xfa,0x04,0xf9]
@ CHECK: ite ne @ encoding: [0x14,0xbf]
@ CHECK: ssub16ne r5, r3, r2 @ encoding: [0xd3,0xfa,0x02,0xf5]
@ CHECK: ssub8eq r5, r1, r2 @ encoding: [0xc1,0xfa,0x02,0xf5]
@------------------------------------------------------------------------------
@ SUB (register)
@------------------------------------------------------------------------------