mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 20:27:42 +00:00
Thumb2 assembly parsing and encoding for LDRHT/STRHT.
llvm-svn: 139962
This commit is contained in:
parent
e9f1da5dec
commit
41ece87fae
@ -757,6 +757,20 @@ _func:
|
||||
@ CHECK: @ fixup A - offset: 0, value: _bar, kind: fixup_t2_ldst_pcrel_12
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ LDRHT
|
||||
@------------------------------------------------------------------------------
|
||||
ldrht r1, [r2]
|
||||
ldrht r1, [r8, #0]
|
||||
ldrht r1, [r8, #3]
|
||||
ldrht r1, [r8, #255]
|
||||
|
||||
@ CHECK: ldrht r1, [r2] @ encoding: [0x32,0xf8,0x00,0x1e]
|
||||
@ CHECK: ldrht r1, [r8] @ encoding: [0x38,0xf8,0x00,0x1e]
|
||||
@ CHECK: ldrht r1, [r8, #3] @ encoding: [0x38,0xf8,0x03,0x1e]
|
||||
@ CHECK: ldrht r1, [r8, #255] @ encoding: [0x38,0xf8,0xff,0x1e]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ LDRSB(immediate)
|
||||
@------------------------------------------------------------------------------
|
||||
@ -2348,6 +2362,20 @@ _func:
|
||||
@ CHECK: strh.w r7, [sp, r2] @ encoding: [0x2d,0xf8,0x02,0x70]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ STRHT
|
||||
@------------------------------------------------------------------------------
|
||||
strht r1, [r2]
|
||||
strht r1, [r8, #0]
|
||||
strht r1, [r8, #3]
|
||||
strht r1, [r8, #255]
|
||||
|
||||
@ CHECK: strht r1, [r2] @ encoding: [0x22,0xf8,0x00,0x1e]
|
||||
@ CHECK: strht r1, [r8] @ encoding: [0x28,0xf8,0x00,0x1e]
|
||||
@ CHECK: strht r1, [r8, #3] @ encoding: [0x28,0xf8,0x03,0x1e]
|
||||
@ CHECK: strht r1, [r8, #255] @ encoding: [0x28,0xf8,0xff,0x1e]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ SUB (register)
|
||||
@------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user