]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/920501-9.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 920501-9.c.s
1 .text
2 .file "920501-9.c"
3 .section .text.proc1,"ax",@progbits
4 .hidden proc1 # -- Begin function proc1
5 .globl proc1
6 .type proc1,@function
7 proc1: # @proc1
8 .result i64
9 # BB#0: # %entry
10 i64.const $push0=, 1
11 # fallthrough-return: $pop0
12 .endfunc
13 .Lfunc_end0:
14 .size proc1, .Lfunc_end0-proc1
15 # -- End function
16 .section .text.proc2,"ax",@progbits
17 .hidden proc2 # -- Begin function proc2
18 .globl proc2
19 .type proc2,@function
20 proc2: # @proc2
21 .result i64
22 # BB#0: # %entry
23 i64.const $push0=, 305419896
24 # fallthrough-return: $pop0
25 .endfunc
26 .Lfunc_end1:
27 .size proc2, .Lfunc_end1-proc2
28 # -- End function
29 .section .text.proc3,"ax",@progbits
30 .hidden proc3 # -- Begin function proc3
31 .globl proc3
32 .type proc3,@function
33 proc3: # @proc3
34 .result i64
35 # BB#0: # %entry
36 i64.const $push0=, -6144092016751651208
37 # fallthrough-return: $pop0
38 .endfunc
39 .Lfunc_end2:
40 .size proc3, .Lfunc_end2-proc3
41 # -- End function
42 .section .text.proc4,"ax",@progbits
43 .hidden proc4 # -- Begin function proc4
44 .globl proc4
45 .type proc4,@function
46 proc4: # @proc4
47 .result i64
48 # BB#0: # %entry
49 i64.const $push0=, -1
50 # fallthrough-return: $pop0
51 .endfunc
52 .Lfunc_end3:
53 .size proc4, .Lfunc_end3-proc4
54 # -- End function
55 .section .text.proc5,"ax",@progbits
56 .hidden proc5 # -- Begin function proc5
57 .globl proc5
58 .type proc5,@function
59 proc5: # @proc5
60 .result i64
61 # BB#0: # %entry
62 i64.const $push0=, 2864434397
63 # fallthrough-return: $pop0
64 .endfunc
65 .Lfunc_end4:
66 .size proc5, .Lfunc_end4-proc5
67 # -- End function
68 .section .text.print_longlong,"ax",@progbits
69 .hidden print_longlong # -- Begin function print_longlong
70 .globl print_longlong
71 .type print_longlong,@function
72 print_longlong: # @print_longlong
73 .param i64, i32
74 .result i32
75 .local i32, i32, i32
76 # BB#0: # %entry
77 i32.const $push7=, 0
78 i32.const $push5=, 0
79 i32.load $push4=, __stack_pointer($pop5)
80 i32.const $push6=, 32
81 i32.sub $push16=, $pop4, $pop6
82 tee_local $push15=, $4=, $pop16
83 i32.store __stack_pointer($pop7), $pop15
84 i32.wrap/i64 $3=, $0
85 block
86 block
87 i64.const $push0=, 32
88 i64.shr_u $push1=, $0, $pop0
89 i32.wrap/i64 $push14=, $pop1
90 tee_local $push13=, $2=, $pop14
91 i32.eqz $push17=, $pop13
92 br_if 0, $pop17 # 0: down to label1
93 # BB#1: # %if.then
94 i32.store 20($4), $3
95 i32.store 16($4), $2
96 i32.const $push2=, .L.str
97 i32.const $push11=, 16
98 i32.add $push12=, $4, $pop11
99 i32.call $drop=, sprintf@FUNCTION, $1, $pop2, $pop12
100 br 1 # 1: down to label0
101 .LBB5_2: # %if.else
102 end_block # label1:
103 i32.store 0($4), $3
104 i32.const $push3=, .L.str.1
105 i32.call $drop=, sprintf@FUNCTION, $1, $pop3, $4
106 .LBB5_3: # %if.end
107 end_block # label0:
108 i32.const $push10=, 0
109 i32.const $push8=, 32
110 i32.add $push9=, $4, $pop8
111 i32.store __stack_pointer($pop10), $pop9
112 copy_local $push18=, $4
113 # fallthrough-return: $pop18
114 .endfunc
115 .Lfunc_end5:
116 .size print_longlong, .Lfunc_end5-print_longlong
117 # -- End function
118 .section .text.main,"ax",@progbits
119 .hidden main # -- Begin function main
120 .globl main
121 .type main,@function
122 main: # @main
123 .result i32
124 .local i32
125 # BB#0: # %entry
126 i32.const $push20=, 0
127 i32.const $push18=, 0
128 i32.load $push17=, __stack_pointer($pop18)
129 i32.const $push19=, 192
130 i32.sub $push51=, $pop17, $pop19
131 tee_local $push50=, $0=, $pop51
132 i32.store __stack_pointer($pop20), $pop50
133 i32.const $push0=, 1
134 i32.store 64($0), $pop0
135 i32.const $push21=, 80
136 i32.add $push22=, $0, $pop21
137 i32.const $push49=, .L.str.1
138 i32.const $push23=, 64
139 i32.add $push24=, $0, $pop23
140 i32.call $drop=, sprintf@FUNCTION, $pop22, $pop49, $pop24
141 block
142 i32.const $push1=, .L.str.2
143 i32.const $push25=, 80
144 i32.add $push26=, $0, $pop25
145 i32.call $push2=, strcmp@FUNCTION, $pop1, $pop26
146 br_if 0, $pop2 # 0: down to label2
147 # BB#1: # %if.end
148 i32.const $push3=, 305419896
149 i32.store 48($0), $pop3
150 i32.const $push27=, 80
151 i32.add $push28=, $0, $pop27
152 i32.const $push52=, .L.str.1
153 i32.const $push29=, 48
154 i32.add $push30=, $0, $pop29
155 i32.call $drop=, sprintf@FUNCTION, $pop28, $pop52, $pop30
156 i32.const $push4=, .L.str.3
157 i32.const $push31=, 80
158 i32.add $push32=, $0, $pop31
159 i32.call $push5=, strcmp@FUNCTION, $pop4, $pop32
160 br_if 0, $pop5 # 0: down to label2
161 # BB#2: # %if.end11
162 i64.const $push6=, 1311768467732155613
163 i64.store 32($0), $pop6
164 i32.const $push33=, 80
165 i32.add $push34=, $0, $pop33
166 i32.const $push53=, .L.str
167 i32.const $push35=, 32
168 i32.add $push36=, $0, $pop35
169 i32.call $drop=, sprintf@FUNCTION, $pop34, $pop53, $pop36
170 i32.const $push7=, .L.str.4
171 i32.const $push37=, 80
172 i32.add $push38=, $0, $pop37
173 i32.call $push8=, strcmp@FUNCTION, $pop7, $pop38
174 br_if 0, $pop8 # 0: down to label2
175 # BB#3: # %if.end19
176 i64.const $push9=, -1
177 i64.store 16($0), $pop9
178 i32.const $push39=, 80
179 i32.add $push40=, $0, $pop39
180 i32.const $push54=, .L.str
181 i32.const $push41=, 16
182 i32.add $push42=, $0, $pop41
183 i32.call $drop=, sprintf@FUNCTION, $pop40, $pop54, $pop42
184 i32.const $push10=, .L.str.5
185 i32.const $push43=, 80
186 i32.add $push44=, $0, $pop43
187 i32.call $push11=, strcmp@FUNCTION, $pop10, $pop44
188 br_if 0, $pop11 # 0: down to label2
189 # BB#4: # %if.end27
190 i32.const $push12=, -1430532899
191 i32.store 0($0), $pop12
192 i32.const $push45=, 80
193 i32.add $push46=, $0, $pop45
194 i32.const $push13=, .L.str.1
195 i32.call $drop=, sprintf@FUNCTION, $pop46, $pop13, $0
196 i32.const $push14=, .L.str.6
197 i32.const $push47=, 80
198 i32.add $push48=, $0, $pop47
199 i32.call $push15=, strcmp@FUNCTION, $pop14, $pop48
200 br_if 0, $pop15 # 0: down to label2
201 # BB#5: # %if.end35
202 i32.const $push16=, 0
203 call exit@FUNCTION, $pop16
204 unreachable
205 .LBB6_6: # %if.then
206 end_block # label2:
207 call abort@FUNCTION
208 unreachable
209 .endfunc
210 .Lfunc_end6:
211 .size main, .Lfunc_end6-main
212 # -- End function
213 .type .L.str,@object # @.str
214 .section .rodata.str1.1,"aMS",@progbits,1
215 .L.str:
216 .asciz "%lx%08.lx"
217 .size .L.str, 10
218
219 .type .L.str.1,@object # @.str.1
220 .L.str.1:
221 .asciz "%lx"
222 .size .L.str.1, 4
223
224 .type .L.str.2,@object # @.str.2
225 .L.str.2:
226 .asciz "1"
227 .size .L.str.2, 2
228
229 .type .L.str.3,@object # @.str.3
230 .L.str.3:
231 .asciz "12345678"
232 .size .L.str.3, 9
233
234 .type .L.str.4,@object # @.str.4
235 .L.str.4:
236 .asciz "aabbccdd12345678"
237 .size .L.str.4, 17
238
239 .type .L.str.5,@object # @.str.5
240 .L.str.5:
241 .asciz "ffffffffffffffff"
242 .size .L.str.5, 17
243
244 .type .L.str.6,@object # @.str.6
245 .L.str.6:
246 .asciz "aabbccdd"
247 .size .L.str.6, 9
248
249
250 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
251 .functype sprintf, i32, i32, i32
252 .functype strcmp, i32, i32, i32
253 .functype abort, void
254 .functype exit, void, i32