ldrd-strd-gnu-bad-inst.s
763 Bytes
@ RUN: not llvm-mc -triple=armv7-linux-gnueabi %s 2>&1 | FileCheck %s
.text
.thumb
@ CHECK: error: too few operands for instruction
strd
@ CHECK: error: too few operands for instruction
ldrd
@ CHECK: error: too few operands for instruction
strd r0
@ CHECK: error: too few operands for instruction
ldrd r0
@ CHECK: error: invalid instruction
strd s0, [r0]
@ CHECK: error: invalid instruction
ldrd s0, [r0]
.arm
@ CHECK: error: too few operands for instruction
strd
@ CHECK: error: too few operands for instruction
ldrd
@ CHECK: error: too few operands for instruction
strd r0
@ CHECK: error: too few operands for instruction
ldrd r0
@ CHECK: error: invalid instruction
strd s0, [r0]
@ CHECK: error: invalid instruction
ldrd s0, [r0]