summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b82247/b82247.il
blob: 2b2d3782510f57a00a1a979d3acc004cc7758a88 (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
// 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_0x8259d717 {}
.class ILGEN_0x8259d717 {

.field static	unsigned int32[] field_0x0
.field static	unsigned int64[] field_0x1
.field static	float32[] field_0x2
.field static	unsigned int64[] field_0x3
.field static	unsigned int8 field_0x4
.field static	int64[] field_0x5
.field static	unsigned int64[] field_0x6

.method static unsigned int16  Method_0xea14afe6() {
.maxstack	17

 .locals (unsigned int32[] LOCAL_0x0,float32 LOCAL_0x1)

ldc.i4 255
 newarr [mscorlib]System.UInt32 
 stloc LOCAL_0x0
ldc.r4 float32(0xdb8ee420) 
stloc LOCAL_0x1

ldc.i4 255
 newarr [mscorlib]System.UInt32 
 stsfld unsigned int32[] ILGEN_0x8259d717::field_0x0
ldc.i4 255
 newarr [mscorlib]System.UInt64 
 stsfld unsigned int64[] ILGEN_0x8259d717::field_0x1
ldc.i4 255
 newarr [mscorlib]System.Single 
 stsfld float32[] ILGEN_0x8259d717::field_0x2
ldc.i4 255
 newarr [mscorlib]System.UInt64 
 stsfld unsigned int64[] ILGEN_0x8259d717::field_0x3
ldc.i4 0xfd628b6a 
stsfld unsigned int8 ILGEN_0x8259d717::field_0x4
ldc.i4 255
 newarr [mscorlib]System.Int64 
 stsfld int64[] ILGEN_0x8259d717::field_0x5
ldc.i4 255
 newarr [mscorlib]System.UInt64 
 stsfld unsigned int64[] ILGEN_0x8259d717::field_0x6

Start_Orphan_0:
  ldloc LOCAL_0x0
 stsfld unsigned int32[] ILGEN_0x8259d717::field_0x0
End_Orphan_0:
   ldc.i4 0xbdab5db7
  conv.ovf.i
        ldc.i4.m1
       conv.ovf.u1
      conv.r8
     conv.i
        ldc.i4.m1
       conv.r.un
      conv.ovf.i
       ldc.i4 0xc3e769a4
      conv.i
     or
    mul
   conv.ovf.i2.un
      ldsflda unsigned int8 ILGEN_0x8259d717::field_0x4
     ldind.u1
Start_Orphan_10:
       ldsflda unsigned int8 ILGEN_0x8259d717::field_0x4
      pop
End_Orphan_10:
        ldc.i8 0x4b8e82c52db365e4
        ldc.i8 0x44397a46261200ef
       sub.ovf
      conv.r4
     conv.i2
    rem.un
Start_Orphan_12:
Start_Orphan_13:
      ldc.i4.7
     stsfld unsigned int8 ILGEN_0x8259d717::field_0x4
End_Orphan_13:
       ldc.r4 float32(0xdd6e7b2d)
       ldc.r8 float64(0xa0b8a33378e7228d)
      div 
     conv.ovf.u8
    pop
End_Orphan_12:
Start_Orphan_17:
        ldsfld unsigned int32[] ILGEN_0x8259d717::field_0x0
        ldc.i4.7
       ldelema [mscorlib]System.UInt32
      pop
End_Orphan_17:
        ldsflda unsigned int8 ILGEN_0x8259d717::field_0x4
       ldind.u1
      conv.i2
     not
        ldc.i4.s 96
       conv.ovf.u8
      conv.ovf.i4.un
        ldloc LOCAL_0x1
       call float64 [mscorlib]System.Math::Sin(float64)
      conv.i4
     rem
    rem.un
   clt.un
  add
 or
Start_Orphan_1c:
Start_Orphan_1d:
Start_Orphan_1e:
     ldsfld int64[] ILGEN_0x8259d717::field_0x5
     ldc.i4 0x4b43ae30
    ldelema [mscorlib]System.Int64
     ldc.i8 0x4ece4cccbcc35e40
     ldc.i8 0xa9f2afc11d390efb
    rem
   stind.i8
End_Orphan_1e:
      ldc.i4.4
     conv.ovf.u1
    conv.u1
 newarr [mscorlib]System.Single
       ldsfld unsigned int32[] ILGEN_0x8259d717::field_0x0
       ldc.i4.4
      ldelema [mscorlib]System.UInt32
     ldind.u4
      ldsfld unsigned int8 ILGEN_0x8259d717::field_0x4
      ldc.i4.6
     cgt
    shr.un
   ldelem.r4
  pop
End_Orphan_1d:
   ldsfld float32[] ILGEN_0x8259d717::field_0x2
       ldc.r4 float32(0x2507ce8)
      conv.ovf.u8
     conv.r.un
    conv.i8
   conv.ovf.i4
  ldelema [mscorlib]System.Single
       ldc.i4.0
      conv.u1
     conv.ovf.u
    conv.r8
   call float64 [mscorlib]System.Math::Sin(float64)
  call float64 [mscorlib]System.Math::Sin(float64)
 stind.r4
End_Orphan_1c:
Start_Orphan_28:
       ldsfld unsigned int64[] ILGEN_0x8259d717::field_0x1
       ldc.i4.2
      ldelem.u8
     conv.u1
    conv.ovf.i2.un
       ldc.i8 0x2db83a4d2bb3c480
       ldc.i8 0x6ce5df031042f521
      div.un
     conv.ovf.u.un
       ldc.i4.4
       ldc.i4.m1
      mul.ovf
       ldc.i8 0x53e6d6e324508910
      conv.ovf.u.un
     sub.ovf.un
    add.ovf.un
   sub
  pop
End_Orphan_28:
        ldc.i4.8
        ldc.i4 0x6e9ef415
       mul
        ldc.i4.1
       neg
      rem
        ldc.r8 float64(0x3add01e04ffbc416)
        ldc.r8 float64(0xde0aaf0d7cc19ad4)
       rem 
      conv.ovf.u1
     clt
        ldc.r8 float64(0x40c9e52b3e42609e)
        ldc.r8 float64(0xbefd3c00191a0855)
       mul 
      conv.r4
     conv.ovf.u1
    mul.ovf
Start_Orphan_39:
       ldsfld int64[] ILGEN_0x8259d717::field_0x5
       ldc.i4.m1
      ldelema [mscorlib]System.Int64
     pop
End_Orphan_39:
         ldsfld unsigned int64[] ILGEN_0x8259d717::field_0x6
         ldc.i4.m1
        ldelema [mscorlib]System.UInt64
       ldind.u8
      conv.ovf.u8.un
     conv.ovf.i8.un
    conv.i4
   div.un
        ldc.i4.5
        ldc.i4.2
       rem
        ldc.i4.m1
        ldc.i4.s -55
       cgt.un
      mul
        ldc.i4.8
        ldc.i4.0
       rem
      conv.u1
     add
Start_Orphan_3f:
       ldsfld int64[] ILGEN_0x8259d717::field_0x5
       ldc.i4.m1
      ldelema [mscorlib]System.Int64
       ldc.i8 0xf1482bab80f51ecf
       ldc.i4.4
      shr
     stind.i8
End_Orphan_3f:
        ldc.i4.3
       conv.u1
        ldc.i4.3
       conv.ovf.u1.un
      ceq
       ldc.i4.7
        ldc.i4.m1
        ldc.i4.6
       div
      div
     add.ovf
    rem.un
        ldc.i4.s 19
       conv.u8
        ldc.i4.s -45
       conv.ovf.i8.un
      sub.ovf
        ldc.i4.s -75
       conv.i8
        ldc.i8 0xa0ee8efa1bcd05bf
        ldc.i8 0x33678d8aa429c49e
       rem.un
      or
     cgt.un
      ldc.i4.3
     conv.ovf.u1.un
    div.un
   rem
  div.un
 neg
ceq
 ret
}
.method static int32 Main() {
.entrypoint
.maxstack	1
.try {
 call unsigned int16  ILGEN_0x8259d717::Method_0xea14afe6()
conv.i4
  leave.s IL_BAD
} catch [mscorlib]System.OverflowException {
  leave.s IL_GOOD
}
IL_GOOD:
ldc.i4.s 100
 ret
IL_BAD:
ldc.i4.s 101
 ret
}

}