Home | History | Annotate | Download | only in ARM
      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
      3 
      4 @------------------------------------------------------------------------------
      5 @ DMB
      6 @------------------------------------------------------------------------------
      7         dmb #0x10
      8         dmb imaginary_scope
      9 
     10 @ CHECK: error: immediate value out of range
     11 @ CHECK: error: invalid operand for instruction
     12 
     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
     20 
     21 @------------------------------------------------------------------------------
     22 @ ISB
     23 @------------------------------------------------------------------------------
     24         isb #0x1f
     25         isb imaginary_domain
     26 
     27 @ CHECK: error: immediate value out of range
     28 @ CHECK: error: invalid operand for instruction
     29