Thumb2 assembly parsing and encoding for USUB8/USUB16.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140120 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2011-09-20 00:31:57 +00:00
parent 6053cd956f
commit 400b624e02

View File

@ -2930,3 +2930,19 @@ _func:
@ 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]
@------------------------------------------------------------------------------
@ USUB16/USUB8
@------------------------------------------------------------------------------
usub16 r4, r2, r7
usub8 r1, r8, r5
ite hi
usub16hi r1, r1, r3
usub8ls r9, r2, r3
@ CHECK: usub16 r4, r2, r7 @ encoding: [0xd2,0xfa,0x47,0xf4]
@ CHECK: usub8 r1, r8, r5 @ encoding: [0xc8,0xfa,0x45,0xf1]
@ CHECK: ite hi @ encoding: [0x8c,0xbf]
@ CHECK: usub16hi r1, r1, r3 @ encoding: [0xd1,0xfa,0x43,0xf1]
@ CHECK: usub8ls r9, r2, r3 @ encoding: [0xc2,0xfa,0x43,0xf9]