[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / MC / SystemZ / insn-good-zos-pcrel.s
blob734520798baa66ea039a1162bd1e54ed007e070c
1 * For z10 and above.
2 * RUN: llvm-mc -triple s390x-ibm-zos -show-encoding %s | FileCheck %s
4 *CHECK: brcl 0, FOO * encoding: [0xc0,0x04,A,A,A,A]
5 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
6 *CHECK: brcl 0, FOO * encoding: [0xc0,0x04,A,A,A,A]
7 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
8 brcl 0,FOO
9 jlnop FOO
11 *CHECK: jge FOO * encoding: [0xc0,0x84,A,A,A,A]
12 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
13 *CHECK: jge FOO * encoding: [0xc0,0x84,A,A,A,A]
14 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
15 jle FOO
16 brel FOO
18 *CHECK: jgne FOO * encoding: [0xc0,0x74,A,A,A,A]
19 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
20 *CHECK: jgne FOO * encoding: [0xc0,0x74,A,A,A,A]
21 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
22 jlne FOO
23 brnel FOO
25 *CHECK: jgh FOO * encoding: [0xc0,0x24,A,A,A,A]
26 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
27 *CHECK: jgh FOO * encoding: [0xc0,0x24,A,A,A,A]
28 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
29 jlh FOO
30 brhl FOO
32 *CHECK: jgnh FOO * encoding: [0xc0,0xd4,A,A,A,A]
33 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
34 *CHECK: jgnh FOO * encoding: [0xc0,0xd4,A,A,A,A]
35 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
36 jlnh FOO
37 brnhl FOO
39 *CHECK: jgl FOO * encoding: [0xc0,0x44,A,A,A,A]
40 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
41 *CHECK: jgl FOO * encoding: [0xc0,0x44,A,A,A,A]
42 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
43 jll FOO
44 brll FOO
46 *CHECK: jgnl FOO * encoding: [0xc0,0xb4,A,A,A,A]
47 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
48 *CHECK: jgnl FOO * encoding: [0xc0,0xb4,A,A,A,A]
49 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
50 jlnl FOO
51 brnll FOO
53 *CHECK: jgz FOO * encoding: [0xc0,0x84,A,A,A,A]
54 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
55 *CHECK: jgz FOO * encoding: [0xc0,0x84,A,A,A,A]
56 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
57 jlz FOO
58 brzl FOO
60 *CHECK: jgnz FOO * encoding: [0xc0,0x74,A,A,A,A]
61 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
62 *CHECK: jgnz FOO * encoding: [0xc0,0x74,A,A,A,A]
63 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
64 jlnz FOO
65 brnzl FOO
67 *CHECK: jgp FOO * encoding: [0xc0,0x24,A,A,A,A]
68 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
69 *CHECK: jgp FOO * encoding: [0xc0,0x24,A,A,A,A]
70 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
71 jlp FOO
72 brpl FOO
74 *CHECK: jgnp FOO * encoding: [0xc0,0xd4,A,A,A,A]
75 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
76 *CHECK: jgnp FOO * encoding: [0xc0,0xd4,A,A,A,A]
77 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
78 jlnp FOO
79 brnpl FOO
81 *CHECK: jgm FOO * encoding: [0xc0,0x44,A,A,A,A]
82 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
83 *CHECK: jgm FOO * encoding: [0xc0,0x44,A,A,A,A]
84 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
85 jlm FOO
86 brml FOO
89 *CHECK: jgnm FOO * encoding: [0xc0,0xb4,A,A,A,A]
90 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
91 *CHECK: jgnm FOO * encoding: [0xc0,0xb4,A,A,A,A]
92 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
93 jlnm FOO
94 brnml FOO
96 *CHECK: jg FOO * encoding: [0xc0,0xf4,A,A,A,A]
97 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
98 *CHECK: jg FOO * encoding: [0xc0,0xf4,A,A,A,A]
99 *CHECK: fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
100 jlu FOO
101 brul FOO