diff options
Diffstat (limited to 'tests/src/JIT/IL_Conformance/Old/Base/bgt.il')
-rw-r--r-- | tests/src/JIT/IL_Conformance/Old/Base/bgt.il | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/tests/src/JIT/IL_Conformance/Old/Base/bgt.il b/tests/src/JIT/IL_Conformance/Old/Base/bgt.il new file mode 100644 index 0000000000..060682700b --- /dev/null +++ b/tests/src/JIT/IL_Conformance/Old/Base/bgt.il @@ -0,0 +1,82 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +.assembly extern legacy library mscorlib {} + +.assembly bgt.exe{} + + +.method public static int32 main(class [mscorlib]System.String[]) { +.locals (class [mscorlib]System.String) +.entrypoint + + ldc.i4 0x55555555 + ldc.i4 0x44444444 + bgt next0 + br fail +next0: + ldc.i4 0x66666666 + ldc.i4 0x66666666 + bgt fail + br next1 +next1: + ldc.i4 0x44444444 + ldc.i4 0x55555555 + bgt fail + br next2 +next2: + ldc.r4 float32(0x3F800000) + ldc.r4 float32(0xBF800000) + bgt next3 + br fail +next3: + ldc.r4 float32(0x3F800000) + ldc.r4 float32(0x3F800000) + bgt fail + br next4 +next4: + ldc.r4 float32(0xBF800000) + ldc.r4 float32(0x3F800000) + bgt fail + br next5 +next5: + ldc.r4 float32(0x3F800000) + ldc.r4 float32(0xBF800000) + bgt.un next6 + br fail +next6: + ldc.r4 float32(0x3F800000) + ldc.r4 float32(0x3F800000) + bgt.un fail + br next7 +next7: + ldc.r4 float32(0xBF800000) + ldc.r4 float32(0x3F800000) + bgt.un fail + br next8 +next8: + ldc.r4 float32(0x7FC00000) + ldc.r4 float32(0x7FC00000) + bgt.un next9 + br fail +next9: + ldc.r4 float32(0x7FC00000) + ldc.r4 float32(0x3F800000) + bgt.un next10 + br fail +next10: + ldc.r4 float32(0xBF800000) + ldc.r4 float32(0x7FC00000) + bgt.un pass + br fail + +pass: + ldc.i4 100 + br end +fail: + ldc.i4 0x0 + br end +end: + ret +} + |