| OLD | NEW |
| 1 ; Tests MVN instruction. | 1 ; Tests MVN instruction. |
| 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=arm32 --args -Om1 \ | 6 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -Om1 \ |
| 7 ; RUN: | FileCheck %s --check-prefix=ASM | 7 ; RUN: | FileCheck %s --check-prefix=ASM |
| 8 | 8 |
| 9 ; Show bytes in assembled standalone code. | 9 ; Show bytes in assembled standalone code. |
| 10 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --assemble --disassemble \ | 10 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --assemble --disassemble \ |
| 11 ; RUN: --args -Om1 | FileCheck %s --check-prefix=DIS | 11 ; RUN: --args -Om1 | FileCheck %s --check-prefix=DIS |
| 12 | 12 |
| 13 ; Compile using integrated assembler. | 13 ; Compile using integrated assembler. |
| 14 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --args -Om1 \ | 14 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --args -Om1 \ |
| 15 ; RUN: | FileCheck %s --check-prefix=IASM | 15 ; RUN: | FileCheck %s --check-prefix=IASM |
| 16 | 16 |
| 17 ; Show bytes in assembled integrated code. | 17 ; Show bytes in assembled integrated code. |
| 18 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --assemble --disassemble \ | 18 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --assemble --disassemble \ |
| 19 ; RUN: --args -Om1 | FileCheck %s --check-prefix=DIS | 19 ; RUN: --args -Om1 | FileCheck %s --check-prefix=DIS |
| 20 | 20 |
| 21 define internal void @mvmEx(i32 %a, i32 %b) { | 21 define internal void @mvnEx(i32 %a, i32 %b) { |
| 22 ; ASM-LABEL:mvmEx: | 22 ; ASM-LABEL:mvnEx: |
| 23 ; DIS-LABEL:00000000 <mvmEx>: | 23 ; DIS-LABEL:00000000 <mvnEx>: |
| 24 ; IASM-LABEL:mvmEx: | 24 ; IASM-LABEL:mvnEx: |
| 25 | 25 |
| 26 entry: | 26 entry: |
| 27 ; ASM-NEXT:.LmvmEx$entry: | 27 ; ASM-NEXT:.LmvnEx$entry: |
| 28 ; IASM-NEXT:.LmvmEx$entry: | 28 ; IASM-NEXT:.LmvnEx$entry: |
| 29 | 29 |
| 30 ; ASM-NEXT: sub sp, sp, #24 | 30 ; ASM-NEXT: sub sp, sp, #24 |
| 31 ; DIS-NEXT: 0: e24dd018 | 31 ; DIS-NEXT: 0: e24dd018 |
| 32 ; IASM-NEXT: .byte 0x18 | 32 ; IASM-NEXT: .byte 0x18 |
| 33 ; IASM-NEXT: .byte 0xd0 | 33 ; IASM-NEXT: .byte 0xd0 |
| 34 ; IASM-NEXT: .byte 0x4d | 34 ; IASM-NEXT: .byte 0x4d |
| 35 ; IASM-NEXT: .byte 0xe2 | 35 ; IASM-NEXT: .byte 0xe2 |
| 36 | 36 |
| 37 ; ASM-NEXT: str r0, [sp, #20] | 37 ; ASM-NEXT: str r0, [sp, #20] |
| 38 ; ASM-NEXT: # [sp, #20] = def.pseudo | 38 ; ASM-NEXT: # [sp, #20] = def.pseudo |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 | 136 |
| 137 ; ASM-NEXT: movne r0, r1 | 137 ; ASM-NEXT: movne r0, r1 |
| 138 ; DIS-NEXT: 3c: 11a00001 | 138 ; DIS-NEXT: 3c: 11a00001 |
| 139 ; IASM-NEXT: .byte 0x1 | 139 ; IASM-NEXT: .byte 0x1 |
| 140 ; IASM-NEXT: .byte 0x0 | 140 ; IASM-NEXT: .byte 0x0 |
| 141 ; IASM-NEXT: .byte 0xa0 | 141 ; IASM-NEXT: .byte 0xa0 |
| 142 ; IASM-NEXT: .byte 0x11 | 142 ; IASM-NEXT: .byte 0x11 |
| 143 | 143 |
| 144 ret void | 144 ret void |
| 145 } | 145 } |
| OLD | NEW |