mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
ARM tests for LDRHT assembly parsing and encoding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137263 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9cbb0d2b3c
commit
de2f526c7c
@ -175,3 +175,17 @@ _func:
|
||||
@ CHECK: ldrh r4, [r3], -r2 @ encoding: [0xb2,0x40,0x13,0xe0]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ LDRHT
|
||||
@------------------------------------------------------------------------------
|
||||
ldrht r9, [r7], #128
|
||||
ldrht r4, [r3], #-75
|
||||
ldrht r9, [r7], r2
|
||||
ldrht r4, [r3], -r2
|
||||
|
||||
@ CHECK: ldrht r9, [r7], #128 @ encoding: [0xb0,0x98,0xf7,0xe0]
|
||||
@ CHECK: ldrht r4, [r3], #-75 @ encoding: [0xbb,0x44,0x73,0xe0]
|
||||
@ CHECK: ldrht r9, [r7], r2 @ encoding: [0xb2,0x90,0xb7,0xe0]
|
||||
@ CHECK: ldrht r4, [r3], -r2 @ encoding: [0xb2,0x40,0x33,0xe0]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user