1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/MC/ARM/invalid-barrier.s
Bernard Ogden 121891c3a9 Test cleanup for v8 instructions
Add some missing tests, factor out a test not specific to v8 into
its own file.

llvm-svn: 193611
2013-10-29 14:16:09 +00:00

29 lines
1.0 KiB
ArmAsm

@ 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