| OLD | NEW |
| 1 ; Show that we know how to translate add. | 1 ; Show that we know how to translate blx. |
| 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 |
| 11 ; Show bytes in assembled standalone code. | 11 ; Show bytes in assembled standalone code. |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 ; ASM-NEXT: blx r1 | 56 ; ASM-NEXT: blx r1 |
| 57 ; DIS-NEXT: c: e12fff31 | 57 ; DIS-NEXT: c: e12fff31 |
| 58 ; IASM-NEXT: .byte 0x31 | 58 ; IASM-NEXT: .byte 0x31 |
| 59 ; IASM-NEXT: .byte 0xff | 59 ; IASM-NEXT: .byte 0xff |
| 60 ; IASM-NEXT: .byte 0x2f | 60 ; IASM-NEXT: .byte 0x2f |
| 61 ; IASM-NEXT: .byte 0xe1 | 61 ; IASM-NEXT: .byte 0xe1 |
| 62 | 62 |
| 63 ret void | 63 ret void |
| 64 } | 64 } |
| OLD | NEW |