OLD | NEW |
(Empty) | |
| 1 ; Shows that the ARM integrated assembler can translate a trivial, |
| 2 ; bundle-aligned function. |
| 3 |
| 4 ; RUN: %p2i --filetype=asm -i %s --target=arm32 \ |
| 5 ; RUN: | FileCheck %s --check-prefix=ASM |
| 6 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 \ |
| 7 ; RUN: | FileCheck %s --check-prefix=IASM |
| 8 |
| 9 define internal void @f() { |
| 10 ret void |
| 11 } |
| 12 |
| 13 ; ASM-LABEL:f: |
| 14 ; ASM-NEXT: .Lf$__0: |
| 15 ; ASM-NEXT: bx lr |
| 16 |
| 17 ; IASM-LABEL:f: |
| 18 ; IASM-NEXT: .byte 0x1e |
| 19 ; IASM-NEXT: .byte 0xff |
| 20 ; IASM-NEXT: .byte 0x2f |
| 21 ; IASM-NEXT: .byte 0xe1 |
| 22 |
| 23 ; IASM-NEXT: .byte 0x70 |
| 24 ; IASM-NEXT: .byte 0x0 |
| 25 ; IASM-NEXT: .byte 0x20 |
| 26 ; IASM-NEXT: .byte 0xe1 |
| 27 |
| 28 ; IASM-NEXT: .byte 0x70 |
| 29 ; IASM-NEXT: .byte 0x0 |
| 30 ; IASM-NEXT: .byte 0x20 |
| 31 ; IASM-NEXT: .byte 0xe1 |
| 32 |
| 33 ; IASM-NEXT: .byte 0x70 |
| 34 ; IASM-NEXT: .byte 0x0 |
| 35 ; IASM-NEXT: .byte 0x20 |
| 36 ; IASM-NEXT: .byte 0xe1 |
OLD | NEW |