aboutsummaryrefslogtreecommitdiff
path: root/test/MC/SystemZ/regs-08.s
blob: f11c45737a43152b3429f6f7017bd513d6ce0240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
# RUN: FileCheck < %t %s

#CHECK: error: invalid register
#CHECK: lgr	%r16,%r1
#CHECK: error: invalid register
#CHECK: lgr	%f0,%r1
#CHECK: error: invalid register
#CHECK: lgr	%a0,%r1
#CHECK: error: invalid operand for instruction
#CHECK: lgr	%arid,%r1
#CHECK: error: invalid operand for instruction
#CHECK: lgr	%0,%r1
#CHECK: error: invalid operand for instruction
#CHECK: lgr	0,%r1
#CHECK: error: unknown token in expression
#CHECK: lgr	(%r0),%r1
#CHECK: error: unknown token in expression
#CHECK: lgr	%,%r1

	lgr	%r16,%r1
	lgr	%f0,%r1
	lgr	%a0,%r1
	lgr	%arid,%r1
	lgr	%0,%r1
	lgr	0,%r1
	lgr	(%r0),%r1
	lgr	%,%r1