30 lines
763 B
ArmAsm
30 lines
763 B
ArmAsm
@ 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]
|