summaryrefslogtreecommitdiff
path: root/tests/src/JIT/IL_Conformance/Old/Base/bge_s.il
blob: d4c33273c449646be6c300617da09db4f3a311e1 (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
// 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 {}


.method public static int32 main(class [mscorlib]System.String[]) {
.locals         (class [mscorlib]System.String)
.entrypoint
        ldc.i4          0x55555555
        ldc.i4          0x44444444
        bge.s                   next0
        br                      fail
next0:
        ldc.i4          0x66666666
        ldc.i4          0x66666666
        bge.s                   next1
        br                      fail
next1:
        ldc.i4          0x44444444
        ldc.i4          0x55555555
        bge                   fail
        br                      next2
next2:
        ldc.r4          float32(0x3F800000)
        ldc.r4          float32(0xBF800000)
        bge.s                   next3
        br                      fail
next3:
        ldc.r4          float32(0x3F800000)
        ldc.r4          float32(0x3F800000)
        bge.s                   next4
        br                      fail
next4:
        ldc.r4          float32(0xBF800000)
        ldc.r4          float32(0x3F800000)
        bge                   fail
        br                      next5
next5:
        ldc.r4          float32(0x3F800000)
        ldc.r4          float32(0xBF800000)
        bge.un.s        next6
        br                      fail
next6:
        ldc.r4          float32(0x3F800000)
        ldc.r4          float32(0x3F800000)
        bge.un.s        next7
        br                      fail
next7:
        ldc.r4          float32(0xBF800000)
        ldc.r4          float32(0x3F800000)
        bge.un.s        fail
        br                      next8
next8:
        ldc.r4          float32(0x7FC00000)
        ldc.r4          float32(0x7FC00000)
        bge.un.s        next9
        br                      fail
next9:
        ldc.r4          float32(0x7FC00000)
        ldc.r4          float32(0x3F800000)
        bge.un.s        next10
        br                      fail
next10:
        ldc.r4          float32(0xBF800000)
        ldc.r4          float32(0x7FC00000)
        bge.un.s        pass
        br                      fail

pass:
        ldc.i4 100
        br                      end
fail:
        ldc.i4          0x0
        br                      end
end:
        ret
}


.assembly bge_s.exe {}