1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
@ RUN: not llvm-mc -triple=armv7 -show-encoding < %s 2>&1 | FileCheck %s
@ RUN: not llvm-mc -triple=thumbv7 -show-encoding < %s 2>&1 | FileCheck %s
@------------------------------------------------------------------------------
@ DMB
@------------------------------------------------------------------------------
dmb #0x10
dmb imaginary_scope
@ CHECK: error: immediate value out of range
@ CHECK: error: invalid operand for instruction
@------------------------------------------------------------------------------
@ DSB
@------------------------------------------------------------------------------
dsb #0x10
dsb imaginary_scope
@ CHECK: error: immediate value out of range
@ CHECK: error: invalid operand for instruction
@------------------------------------------------------------------------------
@ ISB
@------------------------------------------------------------------------------
isb #0x1f
isb imaginary_domain
@ CHECK: error: immediate value out of range
@ CHECK: error: invalid operand for instruction
|