summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-Beta2/b410474/b410474.il
blob: 1fdb169b0b393f9fe86358e412a84cf5e2f8e8fc (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

.assembly extern System.Console
{
  .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
  .ver 4:0:0:0
}
.assembly extern mscorlib{}
.assembly b410474{}
.class public A{.method static void V1() {.maxstack  50
ldsfld int8 [b410474]A::a0100
ldc.i4 0
beq a0101
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0101:
ldsfld int8 [b410474]A::a0101
ldc.i4 1
beq a0102
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0102:
ldsfld float32 [b410474]A::a0102
ldc.r4 2.0
beq a0103
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0103:
ldsfld int16 [b410474]A::a0103
ldc.i4 3
beq a0104
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0104:
ldsfld float32 [b410474]A::a0104
ldc.r4 4.0
beq a0105
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0105:
ret}
.method static void V2() {.maxstack  50
ldsflda int8 [b410474]A::a0100
ldind.i1
ldc.i4 0
beq a0100
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0100:
ldsflda int8 [b410474]A::a0101
ldind.i1
ldc.i4 1
beq a0101
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0101:
ldsflda float32 [b410474]A::a0102
ldind.r4
ldc.r4 2.0
beq a0102
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0102:
ldsflda int16 [b410474]A::a0103
ldind.i2
ldc.i4 3
beq a0103
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0103:
ldsflda float32 [b410474]A::a0104
ldind.r4
ldc.r4 4.0
beq a0104
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0104:
ret}
.method static void V3() {.maxstack  50
ldsfld float32 [b410474]A::a0102
ldc.r4 2.0
beq a0106
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0106:
ldsfld int8 [b410474]A::a0101
ldc.i4 1
beq a0107
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0107:
ldsfld float32 [b410474]A::a0104
ldc.r4 4.0
beq a0108
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0108:
ldsfld int16 [b410474]A::a0103
ldc.i4 3
beq a0109
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0109:
ldsfld int16 [b410474]A::a0103
ldc.i4 3
beq a01010
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a01010:
ret}
.method static void V4() {.maxstack  50
ldsflda int8 [b410474]A::a0100
conv.i8
dup
ldc.i8 0xffffffff00000000
and
ldc.i4 32
shr.un
conv.i8
ldc.i4 32
shl
or
conv.i
ldind.i1
ldc.i4 0
beq a0100
ldstr "a0100"
newobj instance void [mscorlib]System.Exception::.ctor(string)
throw
a0100:
ldsflda int8 [b410474]A::a0101
conv.r8
ldc.r8 234.098
add
conv.r8
ldc.r8 -234.098
add
conv.i
ldind.i1
ldc.i4 1
beq a0101
ldstr "a0101"
newobj instance void [mscorlib]System.Exception::.ctor(string)
throw
a0101:
ldsflda float32 [b410474]A::a0102
conv.i8
dup
dup
xor
xor
conv.i
ldind.r4
ldc.r4 2.0
beq a0102
ldstr "a0102"
newobj instance void [mscorlib]System.Exception::.ctor(string)
throw
a0102:
ldsflda int16 [b410474]A::a0103
conv.i8
ldc.i8 49048
add
conv.i8
ldc.i8 49048
sub
conv.i
ldind.i2
ldc.i4 3
beq a0103
ldstr "a0103"
newobj instance void [mscorlib]System.Exception::.ctor(string)
throw
a0103:
ldsflda float32 [b410474]A::a0104
conv.i8
dup
dup
xor
xor
conv.i
ldind.r4
ldc.r4 4.0
beq a0104
ldstr "a0104"
newobj instance void [mscorlib]System.Exception::.ctor(string)
throw
a0104:
ret}
.method static void V5() {.maxstack  50
ldsfld int8 [b410474]A::a0100
ldc.i4 1
add
stsfld int8 [b410474]A::a0100
ldsfld int8 [b410474]A::a0100
ldc.i4 1
beq a0100
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0100:
ldsfld int8 [b410474]A::a0101
ldc.i4 1
add
stsfld int8 [b410474]A::a0101
ldsfld int8 [b410474]A::a0101
ldc.i4 2
beq a0101
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0101:
ldsfld float32 [b410474]A::a0102
ldc.r4 1
add
stsfld float32 [b410474]A::a0102
ldsfld float32 [b410474]A::a0102
ldc.r4 3.0
beq a0102
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0102:
ldsfld int16 [b410474]A::a0103
ldc.i4 1
add
stsfld int16 [b410474]A::a0103
ldsfld int16 [b410474]A::a0103
ldc.i4 4
beq a0103
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0103:
ldsfld float32 [b410474]A::a0104
ldc.r4 1
add
stsfld float32 [b410474]A::a0104
ldsfld float32 [b410474]A::a0104
ldc.r4 5.0
beq a0104
newobj instance void [mscorlib]System.Exception::.ctor()
throw
a0104:
ret}
.method static int32 Main(string[] args){.entrypoint .maxstack  5
call void [b410474]A::V1()
call void [b410474]A::V2()
call void [b410474]A::V3()
call void [b410474]A::V4()
call void [b410474]A::V5()

ldstr "Test SUCCESS"
call void [System.Console]System.Console::WriteLine(string)

ldc.i4 100
ret}
.field public static float32 a0102 at b0101
.field public static int8 a0100 at b0102
.field public static int8 a0101 at b0103
.field public static int16 a0103 at b0104
.field public static float32 a0104 at b0105
}
.data b0101 = float32(2.0)
.data b0102 = int8(0)
.data b0103 = int8(1)
.data b0104 = int16(3)
.data b0105 = float32(4.0)