2017-03-01 19:11:06 +08:00
|
|
|
@ RUN: not llvm-mc -triple armv7a--none-eabi < %s 2>&1 | FileCheck %s
|
|
|
|
@ RUN: not llvm-mc -triple thumbv7a--none-eabi < %s 2>&1 | FileCheck %s
|
2017-03-01 18:51:04 +08:00
|
|
|
|
|
|
|
msr apsr_c, r0
|
|
|
|
@ CHECK: invalid operand for instruction
|
2017-10-03 18:26:11 +08:00
|
|
|
msr cpsr_w, r0
|
2017-03-01 18:51:04 +08:00
|
|
|
@ CHECK: invalid operand for instruction
|
2017-10-03 18:26:11 +08:00
|
|
|
msr cpsr_cc, r0
|
2017-03-01 18:51:04 +08:00
|
|
|
@ CHECK: invalid operand for instruction
|
2017-10-03 18:26:11 +08:00
|
|
|
msr xpsr_c, r0
|
2017-03-01 18:51:04 +08:00
|
|
|
@ CHECK: invalid operand for instruction
|