aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/SystemZ/insn-cgebr-02.s
blob: 9b817a4172818af533418b1a4b5e64d51196a640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
# RUN: FileCheck < %t %s

#CHECK: error: invalid register
#CHECK: cgebr	%r0, 0, %r0
#CHECK: error: invalid register
#CHECK: cgebr	%f0, 0, %f0
#CHECK: error: invalid operand
#CHECK: cgebr	%r0, -1, %f0
#CHECK: error: invalid operand
#CHECK: cgebr	%r0, 16, %f0

	cgebr	%r0, 0, %r0
	cgebr	%f0, 0, %f0
	cgebr	%r0, -1, %f0
	cgebr	%r0, 16, %f0