mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-03 14:08:57 +00:00
c777b2e58c
Add some missing tests, factor out a test not specific to v8 into its own file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193611 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
1.0 KiB
ArmAsm
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
|