mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
f2c27b743a
LDRD<c> <Rt>, <Rt2>, <label> LDRD<c> <Rt>, <Rt2>, [<Rn>{, #+/-<imm>}] LDRD<c> <Rt>, <Rt2>, [<Rn>], #+/-<imm> LDRD<c> <Rt>, <Rt2>, [<Rn>, #+/-<imm>]! As specified in A8.8.72/A8.8.73 in the ARM ARM, the T1 encoding has a constraint which enforces that Rt != Rt2. If this constraint is not met the result of executing the instruction will be unpredictable. Fixes rdar://14479780. llvm-svn: 191504
10 lines
263 B
ArmAsm
10 lines
263 B
ArmAsm
// RUN: not llvm-mc -arch thumb -mattr=+thumb2 \
|
|
// RUN: < %s >/dev/null 2> %t
|
|
// RUN: grep "error: destination operands can't be identical" %t | count 4
|
|
// rdar://14479780
|
|
|
|
ldrd r0, r0, [pc, #0]
|
|
ldrd r0, r0, [r1, #4]
|
|
ldrd r0, r0, [r1], #4
|
|
ldrd r0, r0, [r1, #4]!
|