summaryrefslogtreecommitdiff
path: root/test/llvm_autogenerated/conv.s
blob: 339051b1c9a2d2f56682f41e149dd519b306d069 (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
	.text
	.file	"/s/llvm/llvm/test/CodeGen/WebAssembly/conv.ll"
	.globl	i32_wrap_i64
	.type	i32_wrap_i64,@function
i32_wrap_i64:
	.param  	i64
	.result 	i32
	i32.wrap/i64	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end0:
	.size	i32_wrap_i64, .Lfunc_end0-i32_wrap_i64

	.globl	i64_extend_s_i32
	.type	i64_extend_s_i32,@function
i64_extend_s_i32:
	.param  	i32
	.result 	i64
	i64.extend_s/i32	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end1:
	.size	i64_extend_s_i32, .Lfunc_end1-i64_extend_s_i32

	.globl	i64_extend_u_i32
	.type	i64_extend_u_i32,@function
i64_extend_u_i32:
	.param  	i32
	.result 	i64
	i64.extend_u/i32	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end2:
	.size	i64_extend_u_i32, .Lfunc_end2-i64_extend_u_i32

	.globl	i32_trunc_s_f32
	.type	i32_trunc_s_f32,@function
i32_trunc_s_f32:
	.param  	f32
	.result 	i32
	i32.trunc_s/f32	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end3:
	.size	i32_trunc_s_f32, .Lfunc_end3-i32_trunc_s_f32

	.globl	i32_trunc_u_f32
	.type	i32_trunc_u_f32,@function
i32_trunc_u_f32:
	.param  	f32
	.result 	i32
	i32.trunc_u/f32	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end4:
	.size	i32_trunc_u_f32, .Lfunc_end4-i32_trunc_u_f32

	.globl	i32_trunc_s_f64
	.type	i32_trunc_s_f64,@function
i32_trunc_s_f64:
	.param  	f64
	.result 	i32
	i32.trunc_s/f64	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end5:
	.size	i32_trunc_s_f64, .Lfunc_end5-i32_trunc_s_f64

	.globl	i32_trunc_u_f64
	.type	i32_trunc_u_f64,@function
i32_trunc_u_f64:
	.param  	f64
	.result 	i32
	i32.trunc_u/f64	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end6:
	.size	i32_trunc_u_f64, .Lfunc_end6-i32_trunc_u_f64

	.globl	i64_trunc_s_f32
	.type	i64_trunc_s_f32,@function
i64_trunc_s_f32:
	.param  	f32
	.result 	i64
	i64.trunc_s/f32	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end7:
	.size	i64_trunc_s_f32, .Lfunc_end7-i64_trunc_s_f32

	.globl	i64_trunc_u_f32
	.type	i64_trunc_u_f32,@function
i64_trunc_u_f32:
	.param  	f32
	.result 	i64
	i64.trunc_u/f32	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end8:
	.size	i64_trunc_u_f32, .Lfunc_end8-i64_trunc_u_f32

	.globl	i64_trunc_s_f64
	.type	i64_trunc_s_f64,@function
i64_trunc_s_f64:
	.param  	f64
	.result 	i64
	i64.trunc_s/f64	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end9:
	.size	i64_trunc_s_f64, .Lfunc_end9-i64_trunc_s_f64

	.globl	i64_trunc_u_f64
	.type	i64_trunc_u_f64,@function
i64_trunc_u_f64:
	.param  	f64
	.result 	i64
	i64.trunc_u/f64	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end10:
	.size	i64_trunc_u_f64, .Lfunc_end10-i64_trunc_u_f64

	.globl	f32_convert_s_i32
	.type	f32_convert_s_i32,@function
f32_convert_s_i32:
	.param  	i32
	.result 	f32
	f32.convert_s/i32	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end11:
	.size	f32_convert_s_i32, .Lfunc_end11-f32_convert_s_i32

	.globl	f32_convert_u_i32
	.type	f32_convert_u_i32,@function
f32_convert_u_i32:
	.param  	i32
	.result 	f32
	f32.convert_u/i32	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end12:
	.size	f32_convert_u_i32, .Lfunc_end12-f32_convert_u_i32

	.globl	f64_convert_s_i32
	.type	f64_convert_s_i32,@function
f64_convert_s_i32:
	.param  	i32
	.result 	f64
	f64.convert_s/i32	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end13:
	.size	f64_convert_s_i32, .Lfunc_end13-f64_convert_s_i32

	.globl	f64_convert_u_i32
	.type	f64_convert_u_i32,@function
f64_convert_u_i32:
	.param  	i32
	.result 	f64
	f64.convert_u/i32	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end14:
	.size	f64_convert_u_i32, .Lfunc_end14-f64_convert_u_i32

	.globl	f32_convert_s_i64
	.type	f32_convert_s_i64,@function
f32_convert_s_i64:
	.param  	i64
	.result 	f32
	f32.convert_s/i64	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end15:
	.size	f32_convert_s_i64, .Lfunc_end15-f32_convert_s_i64

	.globl	f32_convert_u_i64
	.type	f32_convert_u_i64,@function
f32_convert_u_i64:
	.param  	i64
	.result 	f32
	f32.convert_u/i64	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end16:
	.size	f32_convert_u_i64, .Lfunc_end16-f32_convert_u_i64

	.globl	f64_convert_s_i64
	.type	f64_convert_s_i64,@function
f64_convert_s_i64:
	.param  	i64
	.result 	f64
	f64.convert_s/i64	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end17:
	.size	f64_convert_s_i64, .Lfunc_end17-f64_convert_s_i64

	.globl	f64_convert_u_i64
	.type	f64_convert_u_i64,@function
f64_convert_u_i64:
	.param  	i64
	.result 	f64
	f64.convert_u/i64	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end18:
	.size	f64_convert_u_i64, .Lfunc_end18-f64_convert_u_i64

	.globl	f64_promote_f32
	.type	f64_promote_f32,@function
f64_promote_f32:
	.param  	f32
	.result 	f64
	f64.promote/f32	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end19:
	.size	f64_promote_f32, .Lfunc_end19-f64_promote_f32

	.globl	f32_demote_f64
	.type	f32_demote_f64,@function
f32_demote_f64:
	.param  	f64
	.result 	f32
	f32.demote/f64	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end20:
	.size	f32_demote_f64, .Lfunc_end20-f32_demote_f64

	.globl	anyext
	.type	anyext,@function
anyext:
	.param  	i32
	.result 	i64
	i64.extend_u/i32	$push0=, $0
	i64.const	$push1=, 32
	i64.shl 	$push2=, $pop0, $pop1
	return  	$pop2
	.endfunc
.Lfunc_end21:
	.size	anyext, .Lfunc_end21-anyext

	.globl	bitcast_i32_to_float
	.type	bitcast_i32_to_float,@function
bitcast_i32_to_float:
	.param  	i32
	.result 	f32
	f32.reinterpret/i32	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end22:
	.size	bitcast_i32_to_float, .Lfunc_end22-bitcast_i32_to_float

	.globl	bitcast_float_to_i32
	.type	bitcast_float_to_i32,@function
bitcast_float_to_i32:
	.param  	f32
	.result 	i32
	i32.reinterpret/f32	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end23:
	.size	bitcast_float_to_i32, .Lfunc_end23-bitcast_float_to_i32

	.globl	bitcast_i64_to_double
	.type	bitcast_i64_to_double,@function
bitcast_i64_to_double:
	.param  	i64
	.result 	f64
	f64.reinterpret/i64	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end24:
	.size	bitcast_i64_to_double, .Lfunc_end24-bitcast_i64_to_double

	.globl	bitcast_double_to_i64
	.type	bitcast_double_to_i64,@function
bitcast_double_to_i64:
	.param  	f64
	.result 	i64
	i64.reinterpret/f64	$push0=, $0
	return  	$pop0
	.endfunc
.Lfunc_end25:
	.size	bitcast_double_to_i64, .Lfunc_end25-bitcast_double_to_i64