aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/SystemZ/regs-07.s
blob: d3585a6e2ccbbdb36ee66ef086622c165fa64ae6 (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: 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