summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b53994/b53994.il
blob: 64793bd565350fe2fa72d59a250c8a3eaa861d5f (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
407
408
409
410
411
412
413
414
415
416
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.



.assembly extern legacy library mscorlib {}
.assembly extern System.Console
{
  .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
  .ver 4:0:0:0
}
.assembly ILGEN_0x1759e5bf {}
.class ILGEN_0x1759e5bf {

//BEGIN STATIC FIELDS
.field static	int8 field_0x0
.field static	int32[] field_0x1
.field static	int64 field_0x2
.field static	int16[] field_0x3
.field static	unsigned int16[] field_0x4
.field static	float64[] field_0x5
.field static	unsigned int8 field_0x6
//END STATIC FIELDS
.method static int32 Method_0x8c3e201b(int64 Arg_0x0, unsigned int8 Arg_0x1, unsigned int8 Arg_0x2, float32 Arg_0x3, unsigned int16 Arg_0x4) {
.maxstack	15

 .locals (unsigned int8[] local_0x0,unsigned int8 local_0x1,native int local_0x2,unsigned int64[] local_0x3,int16 local_0x4)
//BEGIN INIT LOCALS
ldc.i4 255
 newarr [mscorlib]System.Byte 
 stloc local_0x0
ldc.i4 0xb28c49eb 
stloc local_0x1
ldc.i4 0x7c121c09 
stloc local_0x2
ldc.i4 255
 newarr [mscorlib]System.UInt64 
 stloc local_0x3
ldc.i4 0x1f408e53 
stloc local_0x4

//END INIT LOCALS

//BEGIN INIT OF STATIC FIELDS
ldc.i4 0xf44487aa 
stsfld int8 ILGEN_0x1759e5bf::field_0x0
ldc.i4 255
 newarr [mscorlib]System.Int32 
 stsfld int32[] ILGEN_0x1759e5bf::field_0x1
ldc.i8 0x13ec132a6e9e752a 
stsfld int64 ILGEN_0x1759e5bf::field_0x2
ldc.i4 255
 newarr [mscorlib]System.Int16 
 stsfld int16[] ILGEN_0x1759e5bf::field_0x3
ldc.i4 255
 newarr [mscorlib]System.UInt16 
 stsfld unsigned int16[] ILGEN_0x1759e5bf::field_0x4
ldc.i4 255
 newarr [mscorlib]System.Double 
 stsfld float64[] ILGEN_0x1759e5bf::field_0x5
ldc.i4 0x61ce5c55 
stsfld unsigned int8 ILGEN_0x1759e5bf::field_0x6

//END INIT OF STATIC FIELDS

 BLOCK_1:
Start_Orphan_0:
Start_Orphan_1:
 nop
End_Orphan_1:
 ldloc local_0x2
 ldloc local_0x2
 blt.un Branch_0x4

 ldarg Arg_0x0
 br Branch_0x5

 Branch_0x4:

 ldarg Arg_0x0
 Branch_0x5:

Start_Orphan_2:
 nop
End_Orphan_2:
 ldsfld int64 ILGEN_0x1759e5bf::field_0x2
 ldc.i4.m1
 shr.un
 cgt.un
Start_Orphan_3:
 nop
End_Orphan_3:
 ldloc local_0x2
 ldsfld unsigned int8 ILGEN_0x1759e5bf::field_0x6
 beq Branch_0x8

 ldloc local_0x2
 br Branch_0x9

 Branch_0x8:

 ldloc local_0x2
 Branch_0x9:

Start_Orphan_4:
 nop
End_Orphan_4:
 ldloc local_0x2
 ldc.i4.5
 rem.un
 bne.un Branch_0x6

Start_Orphan_5:
 nop
End_Orphan_5:
 ldarg Arg_0x2
 ldloc local_0x2
 sub
 br Branch_0x7

 Branch_0x6:

 ldsfld int64 ILGEN_0x1759e5bf::field_0x2
 conv.ovf.i
 Branch_0x7:

 bgt.un Branch_0x2

Start_Orphan_6:
 nop
End_Orphan_6:
 ldsfld float64[] ILGEN_0x1759e5bf::field_0x5
 ldc.i4.3
 ldelema [mscorlib]System.Double
 pop
 br Branch_0x3

 Branch_0x2:

 ldc.i4.m1
 conv.u1
 newarr [mscorlib]System.Int32
 stsfld int32[] ILGEN_0x1759e5bf::field_0x1
 Branch_0x3:

End_Orphan_0:
 ldarg Arg_0x3
 conv.r8
 call float64 [mscorlib]System.Math::Sqrt(float64)
 call float64 [mscorlib]System.Math::Sin(float64)
Start_Orphan_7:
 ldsfld int32[] ILGEN_0x1759e5bf::field_0x1
 pop
End_Orphan_7:
 ldc.r8 float64(0xb0fa24ccd2f0a670)
 call float64 [mscorlib]System.Math::Sin(float64)
 blt Branch_0x0

Start_Orphan_8:
Start_Orphan_9:
 nop
End_Orphan_9:
 ldsfld int64 ILGEN_0x1759e5bf::field_0x2
 neg
Start_Orphan_a:
 nop
End_Orphan_a:
 ldc.i8 0x8d0402757eaf1791
 ldc.i8 0x6032c785cb9c5386
 rem
 rem.un
 conv.u2
 stloc local_0x1
End_Orphan_8:
Start_Orphan_b:
 ldc.i4.4
 conv.u1
 newarr [mscorlib]System.Double
 stsfld float64[] ILGEN_0x1759e5bf::field_0x5
End_Orphan_b:
Start_Orphan_c:
 ldsflda int64 ILGEN_0x1759e5bf::field_0x2
 pop
End_Orphan_c:
 ldc.i4.s -61
 ldc.i4.8
 sub.ovf.un
 conv.ovf.i4.un
 ldc.i8 0xb4d1cea9a9ab8776
 conv.u4
 conv.ovf.u4.un
 ceq
 conv.i1
 conv.ovf.u4
 br Branch_0x1

 Branch_0x0:

Start_Orphan_d:
 ldc.i4.m1
 stloc local_0x4
End_Orphan_d:
 ldsfld int16[] ILGEN_0x1759e5bf::field_0x3
 ldlen
 Branch_0x1:

Start_Orphan_e:
Start_Orphan_f:
Start_Orphan_10:
 nop
End_Orphan_10:
 ldloc local_0x2
 conv.ovf.u
 stloc local_0x2
End_Orphan_f:
Start_Orphan_11:
 nop
End_Orphan_11:
 ldc.i4.7
 ldloc local_0x2
 clt
 conv.ovf.i2.un
Start_Orphan_12:
 nop
End_Orphan_12:
 ldc.i4.2
 conv.ovf.i2
 ldloc local_0x2
 ldloc local_0x1
 mul.ovf
 div
 clt.un
 conv.u1
 newarr [mscorlib]System.Double
Start_Orphan_13:
 ldc.i4.1
 stsfld int8 ILGEN_0x1759e5bf::field_0x0
End_Orphan_13:
 ldsfld unsigned int8 ILGEN_0x1759e5bf::field_0x6
Start_Orphan_14:
 ldloca local_0x2
 ldloc local_0x2
 stind.i
End_Orphan_14:
 ldc.r8 float64(0xab330173b0012d0d)
 ldc.r4 float32(0x3ed5bbda)
 rem 
 conv.i1
 and
 conv.ovf.u1.un
Start_Orphan_15:
 ldsfld float64[] ILGEN_0x1759e5bf::field_0x5
 ldc.i4.2
 ldelema [mscorlib]System.Double
 ldc.r4 float32(0xaed83246)
 stind.r8
End_Orphan_15:
 ldloc local_0x2
 ldloc local_0x2
 mul.ovf
Start_Orphan_16:
 nop
End_Orphan_16:
 ldsfld int8 ILGEN_0x1759e5bf::field_0x0
 ldloc local_0x2
 add.ovf
 cgt
 conv.r4
 call float64 [mscorlib]System.Math::Cos(float64)
 stelem.r8
End_Orphan_e:
Start_Orphan_17:
Start_Orphan_18:
 nop
End_Orphan_18:
 ldloc local_0x1
 conv.ovf.i1
 conv.u2
 conv.u1
 newarr [mscorlib]System.UInt16
Start_Orphan_19:
 ldc.r8 float64(0x4a01cd8d207618b3)
 conv.i8
 pop
End_Orphan_19:
Start_Orphan_1a:
 ldsflda int8 ILGEN_0x1759e5bf::field_0x0
 pop
End_Orphan_1a:
 ldloc local_0x3
 ldarg Arg_0x4
 ldelem.u8
 conv.u8
 conv.u2
Start_Orphan_1b:
Start_Orphan_1c:
 nop
End_Orphan_1c:
 ldloc local_0x0
 ldc.i8 0x611e5178771ad1a6
 ldsfld int64 ILGEN_0x1759e5bf::field_0x2
 cgt
 ldarga Arg_0x4
 ldind.u2
 stelem.i1
End_Orphan_1b:
Start_Orphan_1d:
 ldc.i4.7
 stloc local_0x4
End_Orphan_1d:
 ldsfld unsigned int16[] ILGEN_0x1759e5bf::field_0x4
Start_Orphan_1e:
 ldsfld unsigned int8 ILGEN_0x1759e5bf::field_0x6
 stsfld int8 ILGEN_0x1759e5bf::field_0x0
End_Orphan_1e:
 ldsfld unsigned int8 ILGEN_0x1759e5bf::field_0x6
 ldelem.u2
 stelem.i2
End_Orphan_17:
Start_Orphan_1f:
Start_Orphan_20:
 nop
End_Orphan_20:
 ldloc local_0x3
 ldc.i4 0x9888afd2
 ldelema [mscorlib]System.UInt64
 pop
End_Orphan_1f:
Start_Orphan_21:
 ldc.i4.0
 stsfld int8 ILGEN_0x1759e5bf::field_0x0
End_Orphan_21:
Start_Orphan_22:
 nop
End_Orphan_22:
 ldc.i4.0
 conv.ovf.u
 ldc.i4.2
 ldloc local_0x2
 rem.un
 or
 conv.ovf.u.un
Start_Orphan_23:
 nop
End_Orphan_23:
 ldloc local_0x2
 ldc.i4.8
 clt.un
 conv.ovf.u2.un
 ldloc local_0x1
 ldc.i4.6
 rem.un
Start_Orphan_24:
 nop
End_Orphan_24:
 ldloc local_0x2
 ldloc local_0x4
 clt
 div.un
 add.ovf
 add.ovf
Start_Orphan_25:
Start_Orphan_26:
 nop
End_Orphan_26:
 ldloc local_0x3
 ldsfld float64[] ILGEN_0x1759e5bf::field_0x5
 ldlen
 ldloc local_0x2
 conv.ovf.i8
 stelem.i8
End_Orphan_25:
Start_Orphan_27:
 nop
End_Orphan_27:
 ldc.r4 float32(0x7fb2d484)
 conv.ovf.u2
 ldloca local_0x2
 ldind.i
 add
 conv.u
 xor
Start_Orphan_28:
 ldloca local_0x2
 pop
End_Orphan_28:
 ldloc local_0x1
 mul
 clt
EOM: ret
}
.method static int32 Main() {
.entrypoint
.maxstack	20
.try {
ldc.i8 0xd3030795bf763706 
ldc.i4 0x2bf64bfc 
ldc.i4 0x8b2baad5 
ldc.r4 float32(0xc3a89ef4) 
ldc.i4 0x5bef676f 

call int32 ILGEN_0x1759e5bf::Method_0x8c3e201b(int64 Arg_0x0, unsigned int8 Arg_0x1, unsigned int8 Arg_0x2, float32 Arg_0x3, unsigned int16 Arg_0x4)
 pop
leave END
} catch [mscorlib]System.OverflowException {
pop
leave END
}
END:
ldc.i4 100
ret

}

}