Thumb2 assembly parsing and encoding for SMLAWB/SMLAWT.

llvm-svn: 139907
This commit is contained in:
Jim Grosbach 2011-09-16 17:03:01 +00:00
parent 7a0b90b187
commit 53bc90d190
1 changed files with 16 additions and 0 deletions

View File

@ -1838,6 +1838,22 @@ _func:
@ CHECK: smlaldxne r2, r3, r5, r8 @ encoding: [0xc5,0xfb,0xd8,0x23]
@------------------------------------------------------------------------------
@ SMLAWB/SMLAWT
@------------------------------------------------------------------------------
smlawb r2, r3, r10, r8
smlawt r8, r3, r5, r9
ite eq
smlawbeq r2, r7, r5, r8
smlawtne r1, r3, r0, r8
@ CHECK: smlawb r2, r3, r10, r8 @ encoding: [0x33,0xfb,0x0a,0x82]
@ CHECK: smlawt r8, r3, r5, r9 @ encoding: [0x33,0xfb,0x15,0x98]
@ CHECK: ite eq @ encoding: [0x0c,0xbf]
@ CHECK: smlawbeq r2, r7, r5, r8 @ encoding: [0x37,0xfb,0x05,0x82]
@ CHECK: smlawtne r1, r3, r0, r8 @ encoding: [0x33,0xfb,0x10,0x81]
@------------------------------------------------------------------------------
@ SUB (register)
@------------------------------------------------------------------------------