| OLD | NEW |
| 1 ; Show that we know how to translate move (immediate) ARM instruction. | 1 ; Show that we know how to translate move (immediate) ARM instruction. |
| 2 | 2 |
| 3 ; REQUIRES: allow_dump |
| 4 |
| 3 ; RUN: %p2i --filetype=asm -i %s --target=arm32 \ | 5 ; RUN: %p2i --filetype=asm -i %s --target=arm32 \ |
| 4 ; RUN: | FileCheck %s --check-prefix=ASM | 6 ; RUN: | FileCheck %s --check-prefix=ASM |
| 5 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 \ | 7 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 \ |
| 6 ; RUN: | FileCheck %s --check-prefix=IASM | 8 ; RUN: | FileCheck %s --check-prefix=IASM |
| 7 | 9 |
| 8 define internal i32 @Imm1() { | 10 define internal i32 @Imm1() { |
| 9 ret i32 1 | 11 ret i32 1 |
| 10 } | 12 } |
| 11 | 13 |
| 12 ; ASM-LABEL: Imm1: | 14 ; ASM-LABEL: Imm1: |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 } | 236 } |
| 235 | 237 |
| 236 ; ASM-LABEL: rotate0ImmAA: | 238 ; ASM-LABEL: rotate0ImmAA: |
| 237 ; ASM: mov r0, #170 | 239 ; ASM: mov r0, #170 |
| 238 | 240 |
| 239 ; IASM-LABEL: rotate0ImmAA: | 241 ; IASM-LABEL: rotate0ImmAA: |
| 240 ; IASM: .byte 0xaa | 242 ; IASM: .byte 0xaa |
| 241 ; IASM: .byte 0x0 | 243 ; IASM: .byte 0x0 |
| 242 ; IASM: .byte 0xa0 | 244 ; IASM: .byte 0xa0 |
| 243 ; IASM: .byte 0xe3 | 245 ; IASM: .byte 0xe3 |
| OLD | NEW |