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