[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / invalid-barrier.s
blob29fcd8e74623abf59e45ff443b6ccc4e9eaf8918
1 @ RUN: not llvm-mc -triple=armv7 -show-encoding < %s 2>&1 | FileCheck %s
2 @ RUN: not llvm-mc -triple=thumbv7 -show-encoding < %s 2>&1 | FileCheck %s
4 @------------------------------------------------------------------------------
5 @ DMB
6 @------------------------------------------------------------------------------
7 dmb #0x10
8 dmb imaginary_scope
10 @ CHECK: error: immediate value out of range
11 @ CHECK: error: invalid operand for instruction
13 @------------------------------------------------------------------------------
14 @ DSB
15 @------------------------------------------------------------------------------
16 dsb #0x10
17 dsb imaginary_scope
18 @ CHECK: error: immediate value out of range
19 @ CHECK: error: invalid operand for instruction
21 @------------------------------------------------------------------------------
22 @ ISB
23 @------------------------------------------------------------------------------
24 isb #0x1f
25 isb imaginary_domain
27 @ CHECK: error: immediate value out of range
28 @ CHECK: error: invalid operand for instruction