OLD | NEW |
1 ; Test encoding of MIPS32 floating point comparison | 1 ; Test encoding of MIPS32 floating point comparison |
2 | 2 |
3 ; REQUIRES: allow_dump | 3 ; REQUIRES: allow_dump |
4 | 4 |
5 ; Compile using standalone assembler. | 5 ; Compile using standalone assembler. |
6 ; RUN: %p2i --filetype=asm -i %s --target=mips32 --args -O2 \ | 6 ; RUN: %p2i --filetype=asm -i %s --target=mips32 --args -O2 \ |
7 ; RUN: --allow-externally-defined-symbols --skip-unimplemented \ | 7 ; RUN: --allow-externally-defined-symbols \ |
8 ; RUN: | FileCheck %s --check-prefix=ASM | 8 ; RUN: | FileCheck %s --check-prefix=ASM |
9 | 9 |
10 ; Show bytes in assembled standalone code. | 10 ; Show bytes in assembled standalone code. |
11 ; RUN: %p2i --filetype=asm -i %s --target=mips32 --assemble --disassemble \ | 11 ; RUN: %p2i --filetype=asm -i %s --target=mips32 --assemble --disassemble \ |
12 ; RUN: --args -O2 --allow-externally-defined-symbols --skip-unimplemented \ | 12 ; RUN: --args -O2 --allow-externally-defined-symbols \ |
13 ; RUN: | FileCheck %s --check-prefix=DIS | 13 ; RUN: | FileCheck %s --check-prefix=DIS |
14 | 14 |
15 ; Compile using integrated assembler. | 15 ; Compile using integrated assembler. |
16 ; RUN: %p2i --filetype=iasm -i %s --target=mips32 --args -O2 \ | 16 ; RUN: %p2i --filetype=iasm -i %s --target=mips32 --args -O2 \ |
17 ; RUN: --allow-externally-defined-symbols --skip-unimplemented \ | 17 ; RUN: --allow-externally-defined-symbols \ |
18 ; RUN: | FileCheck %s --check-prefix=IASM | 18 ; RUN: | FileCheck %s --check-prefix=IASM |
19 | 19 |
20 ; Show bytes in assembled integrated code. | 20 ; Show bytes in assembled integrated code. |
21 ; RUN: %p2i --filetype=iasm -i %s --target=mips32 --assemble --disassemble \ | 21 ; RUN: %p2i --filetype=iasm -i %s --target=mips32 --assemble --disassemble \ |
22 ; RUN: --args -O2 --allow-externally-defined-symbols --skip-unimplemented \ | 22 ; RUN: --args -O2 --allow-externally-defined-symbols \ |
23 ; RUN: | FileCheck %s --check-prefix=DIS | 23 ; RUN: | FileCheck %s --check-prefix=DIS |
24 | 24 |
25 define internal i32 @fcmpFalseFloat(float %a, float %b) { | 25 define internal i32 @fcmpFalseFloat(float %a, float %b) { |
26 entry: | 26 entry: |
27 %cmp = fcmp false float %a, %b | 27 %cmp = fcmp false float %a, %b |
28 %cmp.ret_ext = zext i1 %cmp to i32 | 28 %cmp.ret_ext = zext i1 %cmp to i32 |
29 ret i32 %cmp.ret_ext | 29 ret i32 %cmp.ret_ext |
30 } | 30 } |
31 | 31 |
32 ; ASM-LABEL: fcmpFalseFloat: | 32 ; ASM-LABEL: fcmpFalseFloat: |
(...skipping 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1406 ; IASM-NEXT: .byte 0x2 | 1406 ; IASM-NEXT: .byte 0x2 |
1407 ; IASM-NEXT: .byte 0x24 | 1407 ; IASM-NEXT: .byte 0x24 |
1408 ; IASM-NEXT: .byte 0x1 | 1408 ; IASM-NEXT: .byte 0x1 |
1409 ; IASM-NEXT: .byte 0x0 | 1409 ; IASM-NEXT: .byte 0x0 |
1410 ; IASM-NEXT: .byte 0x42 | 1410 ; IASM-NEXT: .byte 0x42 |
1411 ; IASM-NEXT: .byte 0x30 | 1411 ; IASM-NEXT: .byte 0x30 |
1412 ; IASM-NEXT: .byte 0x8 | 1412 ; IASM-NEXT: .byte 0x8 |
1413 ; IASM-NEXT: .byte 0x0 | 1413 ; IASM-NEXT: .byte 0x0 |
1414 ; IASM-NEXT: .byte 0xe0 | 1414 ; IASM-NEXT: .byte 0xe0 |
1415 ; IASM-NEXT: .byte 0x3 | 1415 ; IASM-NEXT: .byte 0x3 |
OLD | NEW |