Thumb parsing and encoding for SXTB and SXTH.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138361 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2011-08-23 19:51:42 +00:00
parent ec8b866434
commit 4b6658dd0a

View File

@ -543,3 +543,13 @@ _func:
@ CHECK: svc #0 @ encoding: [0x00,0xdf]
@ CHECK: svc #255 @ encoding: [0xff,0xdf]
@------------------------------------------------------------------------------
@ SXTB/SXTH
@------------------------------------------------------------------------------
sxtb r3, r5
sxth r3, r5
@ CHECK: sxtb r3, r5 @ encoding: [0x6b,0xb2]
@ CHECK: sxth r3, r5 @ encoding: [0x2b,0xb2]