Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git] / llvm / test / MC / Sparc / sparc-traps.s
blobbc11b4c84c625a96ab15077bc101ddeca74edb24
1 ! RUN: llvm-mc %s -triple=sparc -show-encoding | FileCheck %s
3 ! CHECK: ta %i5 ! encoding: [0x91,0xd0,0x00,0x1d]
4 ! CHECK: ta 82 ! encoding: [0x91,0xd0,0x20,0x52]
5 ! CHECK: ta %g1 + %i2 ! encoding: [0x91,0xd0,0x40,0x1a]
6 ! CHECK: ta %i5 + 41 ! encoding: [0x91,0xd7,0x60,0x29]
7 ta %i5
8 ta 82
9 ta %g1 + %i2
10 ta %i5 + 41
12 ! CHECK: tn %i5 ! encoding: [0x81,0xd0,0x00,0x1d]
13 ! CHECK: tn 82 ! encoding: [0x81,0xd0,0x20,0x52]
14 ! CHECK: tn %g1 + %i2 ! encoding: [0x81,0xd0,0x40,0x1a]
15 ! CHECK: tn %i5 + 41 ! encoding: [0x81,0xd7,0x60,0x29]
16 tn %i5
17 tn 82
18 tn %g1 + %i2
19 tn %i5 + 41
21 ! CHECK: tne %i5 ! encoding: [0x93,0xd0,0x00,0x1d]
22 !! tnz should be a synonym for tne
23 ! CHECK: tne %i5 ! encoding: [0x93,0xd0,0x00,0x1d]
24 ! CHECK: tne 82 ! encoding: [0x93,0xd0,0x20,0x52]
25 ! CHECK: tne %g1 + %i2 ! encoding: [0x93,0xd0,0x40,0x1a]
26 ! CHECK: tne %i5 + 41 ! encoding: [0x93,0xd7,0x60,0x29]
27 tne %i5
28 tnz %i5
29 tne 82
30 tne %g1 + %i2
31 tne %i5 + 41
33 ! CHECK: te %i5 ! encoding: [0x83,0xd0,0x00,0x1d]
34 !! tz should be a synonym for te
35 ! CHECK: te %i5 ! encoding: [0x83,0xd0,0x00,0x1d]
36 ! CHECK: te 82 ! encoding: [0x83,0xd0,0x20,0x52]
37 ! CHECK: te %g1 + %i2 ! encoding: [0x83,0xd0,0x40,0x1a]
38 ! CHECK: te %i5 + 41 ! encoding: [0x83,0xd7,0x60,0x29]
39 te %i5
40 tz %i5
41 te 82
42 te %g1 + %i2
43 te %i5 + 41
45 ! CHECK: tg %i5 ! encoding: [0x95,0xd0,0x00,0x1d]
46 ! CHECK: tg 82 ! encoding: [0x95,0xd0,0x20,0x52]
47 ! CHECK: tg %g1 + %i2 ! encoding: [0x95,0xd0,0x40,0x1a]
48 ! CHECK: tg %i5 + 41 ! encoding: [0x95,0xd7,0x60,0x29]
49 tg %i5
50 tg 82
51 tg %g1 + %i2
52 tg %i5 + 41
54 ! CHECK: tle %i5 ! encoding: [0x85,0xd0,0x00,0x1d]
55 ! CHECK: tle 82 ! encoding: [0x85,0xd0,0x20,0x52]
56 ! CHECK: tle %g1 + %i2 ! encoding: [0x85,0xd0,0x40,0x1a]
57 ! CHECK: tle %i5 + 41 ! encoding: [0x85,0xd7,0x60,0x29]
58 tle %i5
59 tle 82
60 tle %g1 + %i2
61 tle %i5 + 41
63 ! CHECK: tge %i5 ! encoding: [0x97,0xd0,0x00,0x1d]
64 ! CHECK: tge 82 ! encoding: [0x97,0xd0,0x20,0x52]
65 ! CHECK: tge %g1 + %i2 ! encoding: [0x97,0xd0,0x40,0x1a]
66 ! CHECK: tge %i5 + 41 ! encoding: [0x97,0xd7,0x60,0x29]
67 tge %i5
68 tge 82
69 tge %g1 + %i2
70 tge %i5 + 41
72 ! CHECK: tl %i5 ! encoding: [0x87,0xd0,0x00,0x1d]
73 ! CHECK: tl 82 ! encoding: [0x87,0xd0,0x20,0x52]
74 ! CHECK: tl %g1 + %i2 ! encoding: [0x87,0xd0,0x40,0x1a]
75 ! CHECK: tl %i5 + 41 ! encoding: [0x87,0xd7,0x60,0x29]
76 tl %i5
77 tl 82
78 tl %g1 + %i2
79 tl %i5 + 41
81 ! CHECK: tgu %i5 ! encoding: [0x99,0xd0,0x00,0x1d]
82 ! CHECK: tgu 82 ! encoding: [0x99,0xd0,0x20,0x52]
83 ! CHECK: tgu %g1 + %i2 ! encoding: [0x99,0xd0,0x40,0x1a]
84 ! CHECK: tgu %i5 + 41 ! encoding: [0x99,0xd7,0x60,0x29]
85 tgu %i5
86 tgu 82
87 tgu %g1 + %i2
88 tgu %i5 + 41
90 ! CHECK: tleu %i5 ! encoding: [0x89,0xd0,0x00,0x1d]
91 ! CHECK: tleu 82 ! encoding: [0x89,0xd0,0x20,0x52]
92 ! CHECK: tleu %g1 + %i2 ! encoding: [0x89,0xd0,0x40,0x1a]
93 ! CHECK: tleu %i5 + 41 ! encoding: [0x89,0xd7,0x60,0x29]
94 tleu %i5
95 tleu 82
96 tleu %g1 + %i2
97 tleu %i5 + 41
99 ! CHECK: tcc %i5 ! encoding: [0x9b,0xd0,0x00,0x1d]
100 ! CHECK: tcc 82 ! encoding: [0x9b,0xd0,0x20,0x52]
101 ! CHECK: tcc %g1 + %i2 ! encoding: [0x9b,0xd0,0x40,0x1a]
102 ! CHECK: tcc %i5 + 41 ! encoding: [0x9b,0xd7,0x60,0x29]
103 tcc %i5
104 tcc 82
105 tcc %g1 + %i2
106 tcc %i5 + 41
108 ! CHECK: tcs %i5 ! encoding: [0x8b,0xd0,0x00,0x1d]
109 ! CHECK: tcs 82 ! encoding: [0x8b,0xd0,0x20,0x52]
110 ! CHECK: tcs %g1 + %i2 ! encoding: [0x8b,0xd0,0x40,0x1a]
111 ! CHECK: tcs %i5 + 41 ! encoding: [0x8b,0xd7,0x60,0x29]
112 tcs %i5
113 tcs 82
114 tcs %g1 + %i2
115 tcs %i5 + 41
117 ! CHECK: tpos %i5 ! encoding: [0x9d,0xd0,0x00,0x1d]
118 ! CHECK: tpos 82 ! encoding: [0x9d,0xd0,0x20,0x52]
119 ! CHECK: tpos %g1 + %i2 ! encoding: [0x9d,0xd0,0x40,0x1a]
120 ! CHECK: tpos %i5 + 41 ! encoding: [0x9d,0xd7,0x60,0x29]
121 tpos %i5
122 tpos 82
123 tpos %g1 + %i2
124 tpos %i5 + 41
126 ! CHECK: tneg %i5 ! encoding: [0x8d,0xd0,0x00,0x1d]
127 ! CHECK: tneg 82 ! encoding: [0x8d,0xd0,0x20,0x52]
128 ! CHECK: tneg %g1 + %i2 ! encoding: [0x8d,0xd0,0x40,0x1a]
129 ! CHECK: tneg %i5 + 41 ! encoding: [0x8d,0xd7,0x60,0x29]
130 tneg %i5
131 tneg 82
132 tneg %g1 + %i2
133 tneg %i5 + 41
135 ! CHECK: tvc %i5 ! encoding: [0x9f,0xd0,0x00,0x1d]
136 ! CHECK: tvc 82 ! encoding: [0x9f,0xd0,0x20,0x52]
137 ! CHECK: tvc %g1 + %i2 ! encoding: [0x9f,0xd0,0x40,0x1a]
138 ! CHECK: tvc %i5 + 41 ! encoding: [0x9f,0xd7,0x60,0x29]
139 tvc %i5
140 tvc 82
141 tvc %g1 + %i2
142 tvc %i5 + 41
144 ! CHECK: tvs %i5 ! encoding: [0x8f,0xd0,0x00,0x1d]
145 ! CHECK: tvs 82 ! encoding: [0x8f,0xd0,0x20,0x52]
146 ! CHECK: tvs %g1 + %i2 ! encoding: [0x8f,0xd0,0x40,0x1a]
147 ! CHECK: tvs %i5 + 41 ! encoding: [0x8f,0xd7,0x60,0x29]
148 tvs %i5
149 tvs 82
150 tvs %g1 + %i2
151 tvs %i5 + 41