forked from WebAssembly/binaryen
/
991216-1.c.s
364 lines (354 loc) · 11.5 KB
/
991216-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
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/991216-1.c"
.section .text.test1,"ax",@progbits
.hidden test1
.globl test1
.type test1,@function
test1: # @test1
.param i32, i64, i32
# BB#0: # %entry
block
i32.const $push0=, 1
i32.ne $push1=, $0, $pop0
br_if 0, $pop1 # 0: down to label0
# BB#1: # %entry
i64.const $push2=, 81985529216486895
i64.ne $push3=, $1, $pop2
br_if 0, $pop3 # 0: down to label0
# BB#2: # %entry
i32.const $push4=, 85
i32.ne $push5=, $2, $pop4
br_if 0, $pop5 # 0: down to label0
# BB#3: # %if.end
return
.LBB0_4: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end0:
.size test1, .Lfunc_end0-test1
.section .text.test2,"ax",@progbits
.hidden test2
.globl test2
.type test2,@function
test2: # @test2
.param i32, i32, i64, i32
# BB#0: # %entry
block
i32.const $push0=, 1
i32.ne $push1=, $0, $pop0
br_if 0, $pop1 # 0: down to label1
# BB#1: # %entry
i32.const $push2=, 2
i32.ne $push3=, $1, $pop2
br_if 0, $pop3 # 0: down to label1
# BB#2: # %entry
i64.const $push4=, 81985529216486895
i64.ne $push5=, $2, $pop4
br_if 0, $pop5 # 0: down to label1
# BB#3: # %entry
i32.const $push6=, 85
i32.ne $push7=, $3, $pop6
br_if 0, $pop7 # 0: down to label1
# BB#4: # %if.end
return
.LBB1_5: # %if.then
end_block # label1:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size test2, .Lfunc_end1-test2
.section .text.test3,"ax",@progbits
.hidden test3
.globl test3
.type test3,@function
test3: # @test3
.param i32, i32, i32, i64, i32
# BB#0: # %entry
block
i32.const $push0=, 1
i32.ne $push1=, $0, $pop0
br_if 0, $pop1 # 0: down to label2
# BB#1: # %entry
i32.const $push2=, 2
i32.ne $push3=, $1, $pop2
br_if 0, $pop3 # 0: down to label2
# BB#2: # %entry
i32.const $push4=, 3
i32.ne $push5=, $2, $pop4
br_if 0, $pop5 # 0: down to label2
# BB#3: # %entry
i64.const $push6=, 81985529216486895
i64.ne $push7=, $3, $pop6
br_if 0, $pop7 # 0: down to label2
# BB#4: # %entry
i32.const $push8=, 85
i32.ne $push9=, $4, $pop8
br_if 0, $pop9 # 0: down to label2
# BB#5: # %if.end
return
.LBB2_6: # %if.then
end_block # label2:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end2:
.size test3, .Lfunc_end2-test3
.section .text.test4,"ax",@progbits
.hidden test4
.globl test4
.type test4,@function
test4: # @test4
.param i32, i32, i32, i32, i64, i32
# BB#0: # %entry
block
i32.const $push0=, 1
i32.ne $push1=, $0, $pop0
br_if 0, $pop1 # 0: down to label3
# BB#1: # %entry
i32.const $push2=, 2
i32.ne $push3=, $1, $pop2
br_if 0, $pop3 # 0: down to label3
# BB#2: # %entry
i32.const $push4=, 3
i32.ne $push5=, $2, $pop4
br_if 0, $pop5 # 0: down to label3
# BB#3: # %entry
i32.const $push6=, 4
i32.ne $push7=, $3, $pop6
br_if 0, $pop7 # 0: down to label3
# BB#4: # %entry
i64.const $push8=, 81985529216486895
i64.ne $push9=, $4, $pop8
br_if 0, $pop9 # 0: down to label3
# BB#5: # %entry
i32.const $push10=, 85
i32.ne $push11=, $5, $pop10
br_if 0, $pop11 # 0: down to label3
# BB#6: # %if.end
return
.LBB3_7: # %if.then
end_block # label3:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end3:
.size test4, .Lfunc_end3-test4
.section .text.test5,"ax",@progbits
.hidden test5
.globl test5
.type test5,@function
test5: # @test5
.param i32, i32, i32, i32, i32, i64, i32
# BB#0: # %entry
block
i32.const $push0=, 1
i32.ne $push1=, $0, $pop0
br_if 0, $pop1 # 0: down to label4
# BB#1: # %entry
i32.const $push2=, 2
i32.ne $push3=, $1, $pop2
br_if 0, $pop3 # 0: down to label4
# BB#2: # %entry
i32.const $push4=, 3
i32.ne $push5=, $2, $pop4
br_if 0, $pop5 # 0: down to label4
# BB#3: # %entry
i32.const $push6=, 4
i32.ne $push7=, $3, $pop6
br_if 0, $pop7 # 0: down to label4
# BB#4: # %entry
i32.const $push8=, 5
i32.ne $push9=, $4, $pop8
br_if 0, $pop9 # 0: down to label4
# BB#5: # %entry
i64.const $push10=, 81985529216486895
i64.ne $push11=, $5, $pop10
br_if 0, $pop11 # 0: down to label4
# BB#6: # %entry
i32.const $push12=, 85
i32.ne $push13=, $6, $pop12
br_if 0, $pop13 # 0: down to label4
# BB#7: # %if.end
return
.LBB4_8: # %if.then
end_block # label4:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end4:
.size test5, .Lfunc_end4-test5
.section .text.test6,"ax",@progbits
.hidden test6
.globl test6
.type test6,@function
test6: # @test6
.param i32, i32, i32, i32, i32, i32, i64, i32
# BB#0: # %entry
block
i32.const $push0=, 1
i32.ne $push1=, $0, $pop0
br_if 0, $pop1 # 0: down to label5
# BB#1: # %entry
i32.const $push2=, 2
i32.ne $push3=, $1, $pop2
br_if 0, $pop3 # 0: down to label5
# BB#2: # %entry
i32.const $push4=, 3
i32.ne $push5=, $2, $pop4
br_if 0, $pop5 # 0: down to label5
# BB#3: # %entry
i32.const $push6=, 4
i32.ne $push7=, $3, $pop6
br_if 0, $pop7 # 0: down to label5
# BB#4: # %entry
i32.const $push8=, 5
i32.ne $push9=, $4, $pop8
br_if 0, $pop9 # 0: down to label5
# BB#5: # %entry
i32.const $push10=, 6
i32.ne $push11=, $5, $pop10
br_if 0, $pop11 # 0: down to label5
# BB#6: # %entry
i64.const $push12=, 81985529216486895
i64.ne $push13=, $6, $pop12
br_if 0, $pop13 # 0: down to label5
# BB#7: # %entry
i32.const $push14=, 85
i32.ne $push15=, $7, $pop14
br_if 0, $pop15 # 0: down to label5
# BB#8: # %if.end
return
.LBB5_9: # %if.then
end_block # label5:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end5:
.size test6, .Lfunc_end5-test6
.section .text.test7,"ax",@progbits
.hidden test7
.globl test7
.type test7,@function
test7: # @test7
.param i32, i32, i32, i32, i32, i32, i32, i64, i32
# BB#0: # %entry
block
i32.const $push0=, 1
i32.ne $push1=, $0, $pop0
br_if 0, $pop1 # 0: down to label6
# BB#1: # %entry
i32.const $push2=, 2
i32.ne $push3=, $1, $pop2
br_if 0, $pop3 # 0: down to label6
# BB#2: # %entry
i32.const $push4=, 3
i32.ne $push5=, $2, $pop4
br_if 0, $pop5 # 0: down to label6
# BB#3: # %entry
i32.const $push6=, 4
i32.ne $push7=, $3, $pop6
br_if 0, $pop7 # 0: down to label6
# BB#4: # %entry
i32.const $push8=, 5
i32.ne $push9=, $4, $pop8
br_if 0, $pop9 # 0: down to label6
# BB#5: # %entry
i32.const $push10=, 6
i32.ne $push11=, $5, $pop10
br_if 0, $pop11 # 0: down to label6
# BB#6: # %entry
i32.const $push12=, 7
i32.ne $push13=, $6, $pop12
br_if 0, $pop13 # 0: down to label6
# BB#7: # %entry
i64.const $push14=, 81985529216486895
i64.ne $push15=, $7, $pop14
br_if 0, $pop15 # 0: down to label6
# BB#8: # %entry
i32.const $push16=, 85
i32.ne $push17=, $8, $pop16
br_if 0, $pop17 # 0: down to label6
# BB#9: # %if.end
return
.LBB6_10: # %if.then
end_block # label6:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end6:
.size test7, .Lfunc_end6-test7
.section .text.test8,"ax",@progbits
.hidden test8
.globl test8
.type test8,@function
test8: # @test8
.param i32, i32, i32, i32, i32, i32, i32, i32, i64, i32
# BB#0: # %entry
block
i32.const $push0=, 1
i32.ne $push1=, $0, $pop0
br_if 0, $pop1 # 0: down to label7
# BB#1: # %entry
i32.const $push2=, 2
i32.ne $push3=, $1, $pop2
br_if 0, $pop3 # 0: down to label7
# BB#2: # %entry
i32.const $push4=, 3
i32.ne $push5=, $2, $pop4
br_if 0, $pop5 # 0: down to label7
# BB#3: # %entry
i32.const $push6=, 4
i32.ne $push7=, $3, $pop6
br_if 0, $pop7 # 0: down to label7
# BB#4: # %entry
i32.const $push8=, 5
i32.ne $push9=, $4, $pop8
br_if 0, $pop9 # 0: down to label7
# BB#5: # %entry
i32.const $push10=, 6
i32.ne $push11=, $5, $pop10
br_if 0, $pop11 # 0: down to label7
# BB#6: # %entry
i32.const $push12=, 7
i32.ne $push13=, $6, $pop12
br_if 0, $pop13 # 0: down to label7
# BB#7: # %entry
i32.const $push14=, 8
i32.ne $push15=, $7, $pop14
br_if 0, $pop15 # 0: down to label7
# BB#8: # %entry
i64.const $push16=, 81985529216486895
i64.ne $push17=, $8, $pop16
br_if 0, $pop17 # 0: down to label7
# BB#9: # %entry
i32.const $push18=, 85
i32.ne $push19=, $9, $pop18
br_if 0, $pop19 # 0: down to label7
# BB#10: # %if.end
return
.LBB7_11: # %if.then
end_block # label7:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end7:
.size test8, .Lfunc_end7-test8
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
i32.const $push0=, 0
call exit@FUNCTION, $pop0
unreachable
.endfunc
.Lfunc_end8:
.size main, .Lfunc_end8-main
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype abort, void
.functype exit, void, i32