| OLD | NEW |
| 1 ; Test the UXTB and UXTH instructions. | 1 ; Test the UXTB and UXTH instructions. |
| 2 | 2 |
| 3 ; NOTE: We use -O2 to get rid of memory stores. | 3 ; NOTE: We use -O2 to get rid of memory stores. |
| 4 | 4 |
| 5 ; REQUIRES: allow_dump | 5 ; REQUIRES: allow_dump |
| 6 | 6 |
| 7 ; Compile using standalone assembler. | 7 ; Compile using standalone assembler. |
| 8 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -O2 \ | 8 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -O2 \ |
| 9 ; RUN: | FileCheck %s --check-prefix=ASM | 9 ; RUN: | FileCheck %s --check-prefix=ASM |
| 10 | 10 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 ; DIS-NEXT: c: e6ff1071 | 66 ; DIS-NEXT: c: e6ff1071 |
| 67 ; IASM-NEXT: .byte 0x71 | 67 ; IASM-NEXT: .byte 0x71 |
| 68 ; IASM-NEXT: .byte 0x10 | 68 ; IASM-NEXT: .byte 0x10 |
| 69 ; IASM-NEXT: .byte 0xff | 69 ; IASM-NEXT: .byte 0xff |
| 70 ; IASM-NEXT: .byte 0xe6 | 70 ; IASM-NEXT: .byte 0xe6 |
| 71 | 71 |
| 72 ret i32 %conv2.ret_ext | 72 ret i32 %conv2.ret_ext |
| 73 | 73 |
| 74 ; ASM-NEXT: mov r0, r1 | 74 ; ASM-NEXT: mov r0, r1 |
| 75 ; DIS-NEXT: 10: e1a00001 | 75 ; DIS-NEXT: 10: e1a00001 |
| 76 ; IASM-NEXT: mov r0, r1 | 76 ; IASM-NEXT: .byte 0x1 |
| 77 ; IASM-NEXT: .byte 0x0 |
| 78 ; IASM-NEXT: .byte 0xa0 |
| 79 ; IASM-NEXT: .byte 0xe1 |
| 80 |
| 77 | 81 |
| 78 ; ASM-NEXT: bx lr | 82 ; ASM-NEXT: bx lr |
| 79 ; DIS-NEXT: 14: e12fff1e | 83 ; DIS-NEXT: 14: e12fff1e |
| 80 ; IASM-NEXT: .byte 0x1e | 84 ; IASM-NEXT: .byte 0x1e |
| 81 ; IASM-NEXT: .byte 0xff | 85 ; IASM-NEXT: .byte 0xff |
| 82 ; IASM-NEXT: .byte 0x2f | 86 ; IASM-NEXT: .byte 0x2f |
| 83 ; IASM-NEXT: .byte 0xe1 | 87 ; IASM-NEXT: .byte 0xe1 |
| 84 | 88 |
| 85 } | 89 } |
| 86 | 90 |
| OLD | NEW |