2 @ RUN
: llvm-mc
-triple
=armv7-linux-gnueabi
-show-encoding
< %s | FileCheck
%s
8 @ CHECK
: ldrd
r0, r1, [r10, #512]! @ encoding: [0xfa,0xe9,0x80,0x01]
9 @ CHECK
: ldrd
r0, r1, [r10], #512 @ encoding: [0xfa,0xe8,0x80,0x01]
10 @ CHECK
: ldrd
r0, r1, [r10, #512] @ encoding: [0xda,0xe9,0x80,0x01]
15 @ CHECK
: strd
r0, r1, [r10, #512]! @ encoding: [0xea,0xe9,0x80,0x01]
16 @ CHECK
: strd
r0, r1, [r10], #512 @ encoding: [0xea,0xe8,0x80,0x01]
17 @ CHECK
: strd
r0, r1, [r10, #512] @ encoding: [0xca,0xe9,0x80,0x01]
22 @ Rt is allowed to
be odd for Thumb
(but
not ARM
)
23 @ CHECK
: ldrd
r1, r2, [r10, #512]! @ encoding: [0xfa,0xe9,0x80,0x12]
24 @ CHECK
: ldrd
r1, r2, [r10], #512 @ encoding: [0xfa,0xe8,0x80,0x12]
25 @ CHECK
: ldrd
r1, r2, [r10, #512] @ encoding: [0xda,0xe9,0x80,0x12]
30 @ CHECK
: strd
r1, r2, [r10, #512]! @ encoding: [0xea,0xe9,0x80,0x12]
31 @ CHECK
: strd
r1, r2, [r10], #512 @ encoding: [0xea,0xe8,0x80,0x12]
32 @ CHECK
: strd
r1, r2, [r10, #512] @ encoding: [0xca,0xe9,0x80,0x12]