mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 21:34:23 +00:00
097b88fff6
This adds all MC tests for the SystemZ target. Patch by Richard Sandiford. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181206 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
652 B
ArmAsm
29 lines
652 B
ArmAsm
# RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
|
|
# RUN: FileCheck < %t %s
|
|
|
|
#CHECK: error: invalid register
|
|
#CHECK: lr %r16,%r1
|
|
#CHECK: error: invalid register
|
|
#CHECK: lr %f0,%r1
|
|
#CHECK: error: invalid register
|
|
#CHECK: lr %a0,%r1
|
|
#CHECK: error: invalid operand for instruction
|
|
#CHECK: lr %arid,%r1
|
|
#CHECK: error: invalid operand for instruction
|
|
#CHECK: lr %0,%r1
|
|
#CHECK: error: invalid operand for instruction
|
|
#CHECK: lr 0,%r1
|
|
#CHECK: error: unknown token in expression
|
|
#CHECK: lr (%r0),%r1
|
|
#CHECK: error: unknown token in expression
|
|
#CHECK: lr %,%r1
|
|
|
|
lr %r16,%r1
|
|
lr %f0,%r1
|
|
lr %a0,%r1
|
|
lr %arid,%r1
|
|
lr %0,%r1
|
|
lr 0,%r1
|
|
lr (%r0),%r1
|
|
lr %,%r1
|