summaryrefslogtreecommitdiff
path: root/test/torture-s/regstack-1.c.s
blob: ef6774cbdceb30499bb29c84bf90ef88e459906a (plain)
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
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
	.text
	.file	"/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/regstack-1.c"
	.section	.text.main,"ax",@progbits
	.hidden	main
	.globl	main
	.type	main,@function
main:                                   # @main
	.result 	i32
	.local  	i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32
# BB#0:                                 # %entry
	i32.const	$18=, __stack_pointer
	i32.load	$18=, 0($18)
	i32.const	$19=, 320
	i32.sub 	$58=, $18, $19
	i32.const	$19=, __stack_pointer
	i32.store	$58=, 0($19), $58
	i32.const	$push7=, 0
	i64.load	$push122=, C($pop7):p2align=4
	tee_local	$push121=, $2=, $pop122
	i32.const	$push120=, 0
	i64.load	$push119=, C+8($pop120)
	tee_local	$push118=, $3=, $pop119
	i32.const	$push117=, 0
	i64.load	$push116=, U($pop117):p2align=4
	tee_local	$push115=, $17=, $pop116
	i32.const	$push114=, 0
	i64.load	$push113=, U+8($pop114)
	tee_local	$push112=, $16=, $pop113
	i32.const	$20=, 304
	i32.add 	$20=, $58, $20
	call    	__addtf3@FUNCTION, $20, $pop121, $pop118, $pop115, $pop112
	i64.load	$push111=, 304($58)
	tee_local	$push110=, $11=, $pop111
	i32.const	$push8=, 8
	i32.const	$21=, 304
	i32.add 	$21=, $58, $21
	i32.add 	$push9=, $21, $pop8
	i64.load	$push109=, 0($pop9)
	tee_local	$push108=, $10=, $pop109
	i32.const	$push107=, 0
	i64.load	$push106=, Y2($pop107):p2align=4
	tee_local	$push105=, $15=, $pop106
	i32.const	$push104=, 0
	i64.load	$push103=, Y2+8($pop104)
	tee_local	$push102=, $14=, $pop103
	i32.const	$22=, 192
	i32.add 	$22=, $58, $22
	call    	__multf3@FUNCTION, $22, $pop110, $pop108, $pop105, $pop102
	i32.const	$push101=, 8
	i32.const	$23=, 192
	i32.add 	$23=, $58, $23
	i32.add 	$push10=, $23, $pop101
	i64.load	$0=, 0($pop10)
	i64.load	$1=, 192($58)
	i32.const	$24=, 240
	i32.add 	$24=, $58, $24
	call    	__subtf3@FUNCTION, $24, $2, $3, $17, $16
	i64.load	$push100=, 240($58)
	tee_local	$push99=, $13=, $pop100
	i32.const	$push98=, 8
	i32.const	$25=, 240
	i32.add 	$25=, $58, $25
	i32.add 	$push11=, $25, $pop98
	i64.load	$push97=, 0($pop11)
	tee_local	$push96=, $12=, $pop97
	i32.const	$26=, 224
	i32.add 	$26=, $58, $26
	call    	__subtf3@FUNCTION, $26, $pop99, $pop96, $17, $16
	i32.const	$push95=, 8
	i32.const	$27=, 224
	i32.add 	$27=, $58, $27
	i32.add 	$push12=, $27, $pop95
	i64.load	$2=, 0($pop12)
	i64.load	$3=, 224($58)
	i32.const	$28=, 288
	i32.add 	$28=, $58, $28
	call    	__addtf3@FUNCTION, $28, $17, $16, $11, $10
	i32.const	$push94=, 8
	i32.const	$29=, 288
	i32.add 	$29=, $58, $29
	i32.add 	$push13=, $29, $pop94
	i64.load	$4=, 0($pop13)
	i64.load	$5=, 288($58)
	i32.const	$push93=, 0
	i64.load	$push92=, Y1($pop93):p2align=4
	tee_local	$push91=, $11=, $pop92
	i32.const	$push90=, 0
	i64.load	$push89=, Y1+8($pop90)
	tee_local	$push88=, $10=, $pop89
	i32.const	$30=, 112
	i32.add 	$30=, $58, $30
	call    	__multf3@FUNCTION, $30, $13, $12, $pop91, $pop88
	i32.const	$push87=, 8
	i32.const	$31=, 112
	i32.add 	$31=, $58, $31
	i32.add 	$push14=, $31, $pop87
	i64.load	$13=, 0($pop14)
	i64.load	$12=, 112($58)
	i32.const	$32=, 272
	i32.add 	$32=, $58, $32
	call    	__addtf3@FUNCTION, $32, $5, $4, $17, $16
	i64.load	$push86=, 272($58)
	tee_local	$push85=, $9=, $pop86
	i32.const	$push84=, 8
	i32.const	$33=, 272
	i32.add 	$33=, $58, $33
	i32.add 	$push15=, $33, $pop84
	i64.load	$push83=, 0($pop15)
	tee_local	$push82=, $8=, $pop83
	i32.const	$34=, 176
	i32.add 	$34=, $58, $34
	call    	__subtf3@FUNCTION, $34, $1, $0, $pop85, $pop82
	i64.load	$0=, 176($58)
	i32.const	$push81=, 0
	i32.const	$push80=, 8
	i32.const	$35=, 176
	i32.add 	$35=, $58, $35
	i32.add 	$push16=, $35, $pop80
	i64.load	$push6=, 0($pop16)
	i64.store	$6=, X+8($pop81), $pop6
	i32.const	$push79=, 0
	i64.store	$7=, X($pop79):p2align=4, $0
	i32.const	$36=, 80
	i32.add 	$36=, $58, $36
	call    	__multf3@FUNCTION, $36, $3, $2, $11, $10
	i32.const	$push78=, 8
	i32.const	$37=, 80
	i32.add 	$37=, $58, $37
	i32.add 	$push17=, $37, $pop78
	i64.load	$0=, 0($pop17)
	i64.load	$1=, 80($58)
	i32.const	$38=, 160
	i32.add 	$38=, $58, $38
	call    	__multf3@FUNCTION, $38, $5, $4, $15, $14
	i64.load	$5=, 160($58)
	i32.const	$push77=, 0
	i32.const	$push76=, 8
	i32.const	$39=, 160
	i32.add 	$39=, $58, $39
	i32.add 	$push18=, $39, $pop76
	i64.load	$push1=, 0($pop18)
	i64.store	$4=, S+8($pop77), $pop1
	i32.const	$push75=, 0
	i64.store	$discard=, S($pop75):p2align=4, $5
	i32.const	$40=, 96
	i32.add 	$40=, $58, $40
	call    	__subtf3@FUNCTION, $40, $12, $13, $3, $2
	i64.load	$13=, 96($58)
	i32.const	$push74=, 0
	i32.const	$push73=, 8
	i32.const	$41=, 96
	i32.add 	$41=, $58, $41
	i32.add 	$push19=, $41, $pop73
	i64.load	$push0=, 0($pop19)
	i64.store	$12=, T+8($pop74), $pop0
	i32.const	$push72=, 0
	i64.store	$discard=, T($pop72):p2align=4, $13
	i32.const	$42=, 208
	i32.add 	$42=, $58, $42
	call    	__subtf3@FUNCTION, $42, $17, $16, $3, $2
	i64.load	$push22=, 208($58)
	i32.const	$push71=, 8
	i32.const	$43=, 208
	i32.add 	$43=, $58, $43
	i32.add 	$push20=, $43, $pop71
	i64.load	$push21=, 0($pop20)
	i32.const	$44=, 64
	i32.add 	$44=, $58, $44
	call    	__addtf3@FUNCTION, $44, $pop22, $pop21, $1, $0
	i64.load	$2=, 64($58)
	i32.const	$push70=, 0
	i32.const	$push69=, 8
	i32.const	$45=, 64
	i32.add 	$45=, $58, $45
	i32.add 	$push23=, $45, $pop69
	i64.load	$push5=, 0($pop23)
	i64.store	$0=, Y+8($pop70), $pop5
	i32.const	$push68=, 0
	i64.store	$1=, Y($pop68):p2align=4, $2
	i32.const	$46=, 256
	i32.add 	$46=, $58, $46
	call    	__addtf3@FUNCTION, $46, $17, $16, $9, $8
	i64.load	$push26=, 256($58)
	i32.const	$push67=, 8
	i32.const	$47=, 256
	i32.add 	$47=, $58, $47
	i32.add 	$push24=, $47, $pop67
	i64.load	$push25=, 0($pop24)
	i32.const	$48=, 144
	i32.add 	$48=, $58, $48
	call    	__subtf3@FUNCTION, $48, $5, $4, $pop26, $pop25
	i64.load	$2=, 144($58)
	i32.const	$push66=, 0
	i32.const	$push65=, 8
	i32.const	$49=, 144
	i32.add 	$49=, $58, $49
	i32.add 	$push27=, $49, $pop65
	i64.load	$push4=, 0($pop27)
	i64.store	$9=, Z+8($pop66), $pop4
	i32.const	$push64=, 0
	i64.store	$8=, Z($pop64):p2align=4, $2
	i32.const	$50=, 128
	i32.add 	$50=, $58, $50
	call    	__addtf3@FUNCTION, $50, $17, $16, $15, $14
	i64.load	$push30=, 128($58)
	i32.const	$push63=, 8
	i32.const	$51=, 128
	i32.add 	$51=, $58, $51
	i32.add 	$push28=, $51, $pop63
	i64.load	$push29=, 0($pop28)
	i32.const	$52=, 48
	i32.add 	$52=, $58, $52
	call    	__multf3@FUNCTION, $52, $pop30, $pop29, $11, $10
	i32.const	$push62=, 8
	i32.const	$53=, 48
	i32.add 	$53=, $58, $53
	i32.add 	$push31=, $53, $pop62
	i64.load	$17=, 0($pop31)
	i64.load	$16=, 48($58)
	i32.const	$54=, 16
	i32.add 	$54=, $58, $54
	call    	__multf3@FUNCTION, $54, $15, $14, $11, $10
	i32.const	$push61=, 8
	i32.const	$55=, 16
	i32.add 	$55=, $58, $55
	i32.add 	$push32=, $55, $pop61
	i64.load	$2=, 0($pop32)
	i64.load	$3=, 16($58)
	i32.const	$56=, 32
	i32.add 	$56=, $58, $56
	call    	__subtf3@FUNCTION, $56, $16, $17, $15, $14
	i64.load	$17=, 32($58)
	i32.const	$push60=, 0
	i32.const	$push59=, 8
	i32.const	$57=, 32
	i32.add 	$57=, $58, $57
	i32.add 	$push33=, $57, $pop59
	i64.load	$push2=, 0($pop33)
	i64.store	$16=, R+8($pop60), $pop2
	i32.const	$push58=, 0
	i64.store	$11=, R($pop58):p2align=4, $17
	i64.const	$push57=, 0
	i64.const	$push34=, -4612248968380809216
	call    	__addtf3@FUNCTION, $58, $3, $2, $pop57, $pop34
	i64.load	$17=, 0($58)
	i32.const	$push56=, 0
	i32.const	$push55=, 8
	i32.add 	$push35=, $58, $pop55
	i64.load	$push3=, 0($pop35)
	i64.store	$2=, Y1+8($pop56), $pop3
	i32.const	$push54=, 0
	i64.store	$discard=, Y1($pop54):p2align=4, $17
	block
	i64.const	$push53=, 0
	i64.const	$push36=, 4612354521497075712
	i32.call	$push37=, __netf2@FUNCTION, $15, $14, $pop53, $pop36
	br_if   	0, $pop37       # 0: down to label0
# BB#1:                                 # %entry
	i64.const	$push123=, 0
	i64.const	$push38=, 4613097791357452288
	i32.call	$push39=, __netf2@FUNCTION, $13, $12, $pop123, $pop38
	br_if   	0, $pop39       # 0: down to label0
# BB#2:                                 # %entry
	i64.const	$push124=, 0
	i64.const	$push40=, 4613150567915585536
	i32.call	$push41=, __netf2@FUNCTION, $5, $4, $pop124, $pop40
	br_if   	0, $pop41       # 0: down to label0
# BB#3:                                 # %entry
	i64.const	$push125=, 0
	i64.const	$push42=, 4613517804799262720
	i32.call	$push43=, __netf2@FUNCTION, $11, $16, $pop125, $pop42
	br_if   	0, $pop43       # 0: down to label0
# BB#4:                                 # %entry
	i64.const	$push126=, 0
	i64.const	$push44=, 4613503511148101632
	i32.call	$push45=, __netf2@FUNCTION, $17, $2, $pop126, $pop44
	br_if   	0, $pop45       # 0: down to label0
# BB#5:                                 # %entry
	i64.const	$push127=, 0
	i64.const	$push46=, 4613110985496985600
	i32.call	$push47=, __netf2@FUNCTION, $8, $9, $pop127, $pop46
	br_if   	0, $pop47       # 0: down to label0
# BB#6:                                 # %entry
	i64.const	$push128=, 0
	i64.const	$push48=, 4612961451915608064
	i32.call	$push49=, __netf2@FUNCTION, $1, $0, $pop128, $pop48
	br_if   	0, $pop49       # 0: down to label0
# BB#7:                                 # %entry
	i64.const	$push129=, 0
	i64.const	$push50=, 4613040616752807936
	i32.call	$push51=, __eqtf2@FUNCTION, $7, $6, $pop129, $pop50
	br_if   	0, $pop51       # 0: down to label0
# BB#8:                                 # %if.end
	i32.const	$push52=, 0
	call    	exit@FUNCTION, $pop52
	unreachable
.LBB0_9:                                # %if.then
	end_block                       # label0:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end0:
	.size	main, .Lfunc_end0-main

	.hidden	C                       # @C
	.type	C,@object
	.section	.data.C,"aw",@progbits
	.globl	C
	.p2align	4
C:
	.int64	0                       # fp128 5
	.int64	4612037862148276224
	.size	C, 16

	.hidden	U                       # @U
	.type	U,@object
	.section	.data.U,"aw",@progbits
	.globl	U
	.p2align	4
U:
	.int64	0                       # fp128 1
	.int64	4611404543450677248
	.size	U, 16

	.hidden	Y2                      # @Y2
	.type	Y2,@object
	.section	.data.Y2,"aw",@progbits
	.globl	Y2
	.p2align	4
Y2:
	.int64	0                       # fp128 11
	.int64	4612354521497075712
	.size	Y2, 16

	.hidden	Y1                      # @Y1
	.type	Y1,@object
	.section	.data.Y1,"aw",@progbits
	.globl	Y1
	.p2align	4
Y1:
	.int64	0                       # fp128 17
	.int64	4612548035543564288
	.size	Y1, 16

	.hidden	X                       # @X
	.type	X,@object
	.section	.bss.X,"aw",@nobits
	.globl	X
	.p2align	4
X:
	.int64	0                       # fp128 0
	.int64	0
	.size	X, 16

	.hidden	Y                       # @Y
	.type	Y,@object
	.section	.bss.Y,"aw",@nobits
	.globl	Y
	.p2align	4
Y:
	.int64	0                       # fp128 0
	.int64	0
	.size	Y, 16

	.hidden	Z                       # @Z
	.type	Z,@object
	.section	.bss.Z,"aw",@nobits
	.globl	Z
	.p2align	4
Z:
	.int64	0                       # fp128 0
	.int64	0
	.size	Z, 16

	.hidden	T                       # @T
	.type	T,@object
	.section	.bss.T,"aw",@nobits
	.globl	T
	.p2align	4
T:
	.int64	0                       # fp128 0
	.int64	0
	.size	T, 16

	.hidden	R                       # @R
	.type	R,@object
	.section	.bss.R,"aw",@nobits
	.globl	R
	.p2align	4
R:
	.int64	0                       # fp128 0
	.int64	0
	.size	R, 16

	.hidden	S                       # @S
	.type	S,@object
	.section	.bss.S,"aw",@nobits
	.globl	S
	.p2align	4
S:
	.int64	0                       # fp128 0
	.int64	0
	.size	S, 16


	.ident	"clang version 3.9.0 "