forked from WebAssembly/binaryen
/
20070623-1.c.s
315 lines (303 loc) · 9.6 KB
/
20070623-1.c.s
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20070623-1.c"
.section .text.nge,"ax",@progbits
.hidden nge
.globl nge
.type nge,@function
nge: # @nge
.param i32, i32
.result i32
# BB#0: # %entry
i32.const $push2=, -1
i32.const $push1=, 0
i32.ge_s $push0=, $0, $1
i32.select $push3=, $pop2, $pop1, $pop0
# fallthrough-return: $pop3
.endfunc
.Lfunc_end0:
.size nge, .Lfunc_end0-nge
.section .text.ngt,"ax",@progbits
.hidden ngt
.globl ngt
.type ngt,@function
ngt: # @ngt
.param i32, i32
.result i32
# BB#0: # %entry
i32.const $push2=, -1
i32.const $push1=, 0
i32.gt_s $push0=, $0, $1
i32.select $push3=, $pop2, $pop1, $pop0
# fallthrough-return: $pop3
.endfunc
.Lfunc_end1:
.size ngt, .Lfunc_end1-ngt
.section .text.nle,"ax",@progbits
.hidden nle
.globl nle
.type nle,@function
nle: # @nle
.param i32, i32
.result i32
# BB#0: # %entry
i32.const $push2=, -1
i32.const $push1=, 0
i32.le_s $push0=, $0, $1
i32.select $push3=, $pop2, $pop1, $pop0
# fallthrough-return: $pop3
.endfunc
.Lfunc_end2:
.size nle, .Lfunc_end2-nle
.section .text.nlt,"ax",@progbits
.hidden nlt
.globl nlt
.type nlt,@function
nlt: # @nlt
.param i32, i32
.result i32
# BB#0: # %entry
i32.const $push2=, -1
i32.const $push1=, 0
i32.lt_s $push0=, $0, $1
i32.select $push3=, $pop2, $pop1, $pop0
# fallthrough-return: $pop3
.endfunc
.Lfunc_end3:
.size nlt, .Lfunc_end3-nlt
.section .text.neq,"ax",@progbits
.hidden neq
.globl neq
.type neq,@function
neq: # @neq
.param i32, i32
.result i32
# BB#0: # %entry
i32.const $push2=, -1
i32.const $push1=, 0
i32.eq $push0=, $0, $1
i32.select $push3=, $pop2, $pop1, $pop0
# fallthrough-return: $pop3
.endfunc
.Lfunc_end4:
.size neq, .Lfunc_end4-neq
.section .text.nne,"ax",@progbits
.hidden nne
.globl nne
.type nne,@function
nne: # @nne
.param i32, i32
.result i32
# BB#0: # %entry
i32.const $push2=, -1
i32.const $push1=, 0
i32.ne $push0=, $0, $1
i32.select $push3=, $pop2, $pop1, $pop0
# fallthrough-return: $pop3
.endfunc
.Lfunc_end5:
.size nne, .Lfunc_end5-nne
.section .text.ngeu,"ax",@progbits
.hidden ngeu
.globl ngeu
.type ngeu,@function
ngeu: # @ngeu
.param i32, i32
.result i32
# BB#0: # %entry
i32.const $push2=, -1
i32.const $push1=, 0
i32.ge_u $push0=, $0, $1
i32.select $push3=, $pop2, $pop1, $pop0
# fallthrough-return: $pop3
.endfunc
.Lfunc_end6:
.size ngeu, .Lfunc_end6-ngeu
.section .text.ngtu,"ax",@progbits
.hidden ngtu
.globl ngtu
.type ngtu,@function
ngtu: # @ngtu
.param i32, i32
.result i32
# BB#0: # %entry
i32.const $push2=, -1
i32.const $push1=, 0
i32.gt_u $push0=, $0, $1
i32.select $push3=, $pop2, $pop1, $pop0
# fallthrough-return: $pop3
.endfunc
.Lfunc_end7:
.size ngtu, .Lfunc_end7-ngtu
.section .text.nleu,"ax",@progbits
.hidden nleu
.globl nleu
.type nleu,@function
nleu: # @nleu
.param i32, i32
.result i32
# BB#0: # %entry
i32.const $push2=, -1
i32.const $push1=, 0
i32.le_u $push0=, $0, $1
i32.select $push3=, $pop2, $pop1, $pop0
# fallthrough-return: $pop3
.endfunc
.Lfunc_end8:
.size nleu, .Lfunc_end8-nleu
.section .text.nltu,"ax",@progbits
.hidden nltu
.globl nltu
.type nltu,@function
nltu: # @nltu
.param i32, i32
.result i32
# BB#0: # %entry
i32.const $push2=, -1
i32.const $push1=, 0
i32.lt_u $push0=, $0, $1
i32.select $push3=, $pop2, $pop1, $pop0
# fallthrough-return: $pop3
.endfunc
.Lfunc_end9:
.size nltu, .Lfunc_end9-nltu
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
block
i32.const $push34=, -2147483648
i32.const $push33=, 2147483647
i32.call $push0=, nge@FUNCTION, $pop34, $pop33
br_if 0, $pop0 # 0: down to label0
# BB#1: # %if.end
i32.const $push36=, 2147483647
i32.const $push35=, -2147483648
i32.call $push1=, nge@FUNCTION, $pop36, $pop35
i32.const $push2=, -1
i32.ne $push3=, $pop1, $pop2
br_if 0, $pop3 # 0: down to label0
# BB#2: # %if.end4
i32.const $push38=, -2147483648
i32.const $push37=, 2147483647
i32.call $push4=, ngt@FUNCTION, $pop38, $pop37
br_if 0, $pop4 # 0: down to label0
# BB#3: # %if.end8
i32.const $push41=, 2147483647
i32.const $push40=, -2147483648
i32.call $push5=, ngt@FUNCTION, $pop41, $pop40
i32.const $push39=, -1
i32.ne $push6=, $pop5, $pop39
br_if 0, $pop6 # 0: down to label0
# BB#4: # %if.end12
i32.const $push44=, -2147483648
i32.const $push43=, 2147483647
i32.call $push7=, nle@FUNCTION, $pop44, $pop43
i32.const $push42=, -1
i32.ne $push8=, $pop7, $pop42
br_if 0, $pop8 # 0: down to label0
# BB#5: # %if.end16
i32.const $push46=, 2147483647
i32.const $push45=, -2147483648
i32.call $push9=, nle@FUNCTION, $pop46, $pop45
br_if 0, $pop9 # 0: down to label0
# BB#6: # %if.end20
i32.const $push48=, -2147483648
i32.const $push47=, 2147483647
i32.call $push10=, nlt@FUNCTION, $pop48, $pop47
i32.const $push11=, -1
i32.ne $push12=, $pop10, $pop11
br_if 0, $pop12 # 0: down to label0
# BB#7: # %if.end24
i32.const $push50=, 2147483647
i32.const $push49=, -2147483648
i32.call $push13=, nlt@FUNCTION, $pop50, $pop49
br_if 0, $pop13 # 0: down to label0
# BB#8: # %if.end28
i32.const $push52=, -2147483648
i32.const $push51=, 2147483647
i32.call $push14=, neq@FUNCTION, $pop52, $pop51
br_if 0, $pop14 # 0: down to label0
# BB#9: # %if.end32
i32.const $push54=, 2147483647
i32.const $push53=, -2147483648
i32.call $push15=, neq@FUNCTION, $pop54, $pop53
br_if 0, $pop15 # 0: down to label0
# BB#10: # %if.end36
i32.const $push57=, -2147483648
i32.const $push56=, 2147483647
i32.call $push16=, nne@FUNCTION, $pop57, $pop56
i32.const $push55=, -1
i32.ne $push17=, $pop16, $pop55
br_if 0, $pop17 # 0: down to label0
# BB#11: # %if.end40
i32.const $push60=, 2147483647
i32.const $push59=, -2147483648
i32.call $push18=, nne@FUNCTION, $pop60, $pop59
i32.const $push58=, -1
i32.ne $push19=, $pop18, $pop58
br_if 0, $pop19 # 0: down to label0
# BB#12: # %if.end44
i32.const $push62=, 0
i32.const $push61=, -1
i32.call $push20=, ngeu@FUNCTION, $pop62, $pop61
br_if 0, $pop20 # 0: down to label0
# BB#13: # %if.end48
i32.const $push65=, -1
i32.const $push64=, 0
i32.call $push21=, ngeu@FUNCTION, $pop65, $pop64
i32.const $push63=, -1
i32.ne $push22=, $pop21, $pop63
br_if 0, $pop22 # 0: down to label0
# BB#14: # %if.end52
i32.const $push67=, 0
i32.const $push66=, -1
i32.call $push23=, ngtu@FUNCTION, $pop67, $pop66
br_if 0, $pop23 # 0: down to label0
# BB#15: # %if.end56
i32.const $push70=, -1
i32.const $push69=, 0
i32.call $push24=, ngtu@FUNCTION, $pop70, $pop69
i32.const $push68=, -1
i32.ne $push25=, $pop24, $pop68
br_if 0, $pop25 # 0: down to label0
# BB#16: # %if.end60
i32.const $push73=, 0
i32.const $push72=, -1
i32.call $push26=, nleu@FUNCTION, $pop73, $pop72
i32.const $push71=, -1
i32.ne $push27=, $pop26, $pop71
br_if 0, $pop27 # 0: down to label0
# BB#17: # %if.end64
i32.const $push75=, -1
i32.const $push74=, 0
i32.call $push28=, nleu@FUNCTION, $pop75, $pop74
br_if 0, $pop28 # 0: down to label0
# BB#18: # %if.end68
i32.const $push78=, 0
i32.const $push77=, -1
i32.call $push29=, nltu@FUNCTION, $pop78, $pop77
i32.const $push76=, -1
i32.ne $push30=, $pop29, $pop76
br_if 0, $pop30 # 0: down to label0
# BB#19: # %if.end72
i32.const $push80=, -1
i32.const $push79=, 0
i32.call $push31=, nltu@FUNCTION, $pop80, $pop79
br_if 0, $pop31 # 0: down to label0
# BB#20: # %if.end76
i32.const $push32=, 0
call exit@FUNCTION, $pop32
unreachable
.LBB10_21: # %if.then75
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end10:
.size main, .Lfunc_end10-main
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype abort, void
.functype exit, void, i32