mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
ARM parsing and encoding tests for load/store exclusive instructions.
llvm-svn: 136105
This commit is contained in:
parent
4681ef2468
commit
7b56b1cf0e
@ -86,30 +86,6 @@
|
|||||||
@ CHECK: add r1, r2, r3, lsl r4 @ encoding: [0x13,0x14,0x82,0xe0]
|
@ CHECK: add r1, r2, r3, lsl r4 @ encoding: [0x13,0x14,0x82,0xe0]
|
||||||
add r1, r2, r3, lsl r4
|
add r1, r2, r3, lsl r4
|
||||||
|
|
||||||
@ CHECK: strexb r0, r1, [r2] @ encoding: [0x91,0x0f,0xc2,0xe1]
|
|
||||||
strexb r0, r1, [r2]
|
|
||||||
|
|
||||||
@ CHECK: strexh r0, r1, [r2] @ encoding: [0x91,0x0f,0xe2,0xe1]
|
|
||||||
strexh r0, r1, [r2]
|
|
||||||
|
|
||||||
@ CHECK: strex r0, r1, [r2] @ encoding: [0x91,0x0f,0x82,0xe1]
|
|
||||||
strex r0, r1, [r2]
|
|
||||||
|
|
||||||
@ CHECK: strexd r0, r2, r3, [r1] @ encoding: [0x92,0x0f,0xa1,0xe1]
|
|
||||||
strexd r0, r2, r3, [r1]
|
|
||||||
|
|
||||||
@ CHECK: ldrexb r0, [r0] @ encoding: [0x9f,0x0f,0xd0,0xe1]
|
|
||||||
ldrexb r0, [r0]
|
|
||||||
|
|
||||||
@ CHECK: ldrexh r0, [r0] @ encoding: [0x9f,0x0f,0xf0,0xe1]
|
|
||||||
ldrexh r0, [r0]
|
|
||||||
|
|
||||||
@ CHECK: ldrex r0, [r0] @ encoding: [0x9f,0x0f,0x90,0xe1]
|
|
||||||
ldrex r0, [r0]
|
|
||||||
|
|
||||||
@ CHECK: ldrexd r0, r1, [r0] @ encoding: [0x9f,0x0f,0xb0,0xe1]
|
|
||||||
ldrexd r0, r1, [r0]
|
|
||||||
|
|
||||||
@ CHECK: ssat16 r0, #7, r0 @ encoding: [0x30,0x0f,0xa6,0xe6]
|
@ CHECK: ssat16 r0, #7, r0 @ encoding: [0x30,0x0f,0xa6,0xe6]
|
||||||
ssat16 r0, #7, r0
|
ssat16 r0, #7, r0
|
||||||
|
|
||||||
|
@ -622,6 +622,21 @@ _func:
|
|||||||
@------------------------------------------------------------------------------
|
@------------------------------------------------------------------------------
|
||||||
@ FIXME: LDR*
|
@ FIXME: LDR*
|
||||||
@------------------------------------------------------------------------------
|
@------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@------------------------------------------------------------------------------
|
||||||
|
@ LDREX/LDREXB/LDREXH/LDREXD
|
||||||
|
@------------------------------------------------------------------------------
|
||||||
|
ldrexb r3, [r4]
|
||||||
|
ldrexh r2, [r5]
|
||||||
|
ldrex r1, [r7]
|
||||||
|
ldrexd r6, r7, [r8]
|
||||||
|
|
||||||
|
@ CHECK: ldrexb r3, [r4] @ encoding: [0x9f,0x3f,0xd4,0xe1]
|
||||||
|
@ CHECK: ldrexh r2, [r5] @ encoding: [0x9f,0x2f,0xf5,0xe1]
|
||||||
|
@ CHECK: ldrex r1, [r7] @ encoding: [0x9f,0x1f,0x97,0xe1]
|
||||||
|
@ CHECK: ldrexd r6, r7, [r8] @ encoding: [0x9f,0x6f,0xb8,0xe1]
|
||||||
|
|
||||||
|
|
||||||
@------------------------------------------------------------------------------
|
@------------------------------------------------------------------------------
|
||||||
@ FIXME: LSL
|
@ FIXME: LSL
|
||||||
@------------------------------------------------------------------------------
|
@------------------------------------------------------------------------------
|
||||||
@ -1697,6 +1712,18 @@ _func:
|
|||||||
@------------------------------------------------------------------------------
|
@------------------------------------------------------------------------------
|
||||||
@ FIXME:STR*
|
@ FIXME:STR*
|
||||||
@------------------------------------------------------------------------------
|
@------------------------------------------------------------------------------
|
||||||
|
@------------------------------------------------------------------------------
|
||||||
|
@ STREX/STREXB/STREXH/STREXD
|
||||||
|
@------------------------------------------------------------------------------
|
||||||
|
strexb r1, r3, [r4]
|
||||||
|
strexh r4, r2, [r5]
|
||||||
|
strex r2, r1, [r7]
|
||||||
|
strexd r6, r2, r3, [r8]
|
||||||
|
|
||||||
|
@ CHECK: strexb r1, r3, [r4] @ encoding: [0x93,0x1f,0xc4,0xe1]
|
||||||
|
@ CHECK: strexh r4, r2, [r5] @ encoding: [0x92,0x4f,0xe5,0xe1]
|
||||||
|
@ CHECK: strex r2, r1, [r7] @ encoding: [0x91,0x2f,0x87,0xe1]
|
||||||
|
@ CHECK: strexd r6, r2, r3, [r8] @ encoding: [0x92,0x6f,0xa8,0xe1]
|
||||||
|
|
||||||
|
|
||||||
@------------------------------------------------------------------------------
|
@------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user