aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/ldrd-strd-gnu-arm.s
blob: 57d21c7a1464b33ec99b720da76b62a0644a1f12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@ PR18921
@ RUN: llvm-mc -triple=armv7-linux-gnueabi -show-encoding < %s | FileCheck %s
.text

@ CHECK-NOT: .code	16


@ CHECK: ldrd	r0, r1, [r10, #32]!     @ encoding: [0xd0,0x02,0xea,0xe1]
@ CHECK: ldrd	r0, r1, [r10], #32      @ encoding: [0xd0,0x02,0xca,0xe0]
@ CHECK: ldrd	r0, r1, [r10, #32]      @ encoding: [0xd0,0x02,0xca,0xe1]
        ldrd    r0, [r10, #32]!
        ldrd    r0, [r10], #32
        ldrd    r0, [r10, #32]

@ CHECK: strd	r0, r1, [r10, #32]!     @ encoding: [0xf0,0x02,0xea,0xe1]
@ CHECK: strd	r0, r1, [r10], #32      @ encoding: [0xf0,0x02,0xca,0xe0]
@ CHECK: strd	r0, r1, [r10, #32]      @ encoding: [0xf0,0x02,0xca,0xe1]
        strd    r0, [r10, #32]!
        strd    r0, [r10], #32
        strd    r0, [r10, #32]