Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: tests_lit/assembler/arm32/branch-mult-fwd.ll

Issue 1448783004: Fix translation of instruction "move" in ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove #if 0 Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 ; Test that we correctly fix multiple forward branches. 1 ; Test that we correctly fix multiple forward branches.
2 2
3 ; Compile using standalone assembler. 3 ; Compile using standalone assembler.
4 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -Om1 \ 4 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -Om1 \
5 ; RUN: | FileCheck %s --check-prefix=ASM 5 ; RUN: | FileCheck %s --check-prefix=ASM
6 6
7 ; Show bytes in assembled standalone code. 7 ; Show bytes in assembled standalone code.
8 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --assemble --disassemble \ 8 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --assemble --disassemble \
9 ; RUN: --args -Om1 | FileCheck %s --check-prefix=DIS 9 ; RUN: --args -Om1 | FileCheck %s --check-prefix=DIS
10 10
11 ; Compile using integrated assembler. 11 ; Compile using integrated assembler.
12 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --args -Om1 -unsafe-ias \ 12 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --args -Om1 \
13 ; RUN: | FileCheck %s --check-prefix=IASM 13 ; RUN: | FileCheck %s --check-prefix=IASM
14 14
15 ; Show bytes in assembled integrated code. 15 ; Show bytes in assembled integrated code.
16 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --assemble --disassemble \ 16 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --assemble --disassemble \
17 ; RUN: --args -Om1 -unsafe-ias | FileCheck %s --check-prefix=DIS 17 ; RUN: --args -Om1 | FileCheck %s --check-prefix=DIS
18 18
19 ; REQUIRES: allow_dump 19 ; REQUIRES: allow_dump
20 20
21 define internal void @mult_fwd_branches(i32 %a, i32 %b) { 21 define internal void @mult_fwd_branches(i32 %a, i32 %b) {
22 ; ASM-LABEL:mult_fwd_branches: 22 ; ASM-LABEL:mult_fwd_branches:
23 ; ASM-LABEL:.Lmult_fwd_branches$__0: 23 ; ASM-LABEL:.Lmult_fwd_branches$__0:
24 24
25 ; ASM-NEXT: sub sp, sp, #12 25 ; ASM-NEXT: sub sp, sp, #12
26 ; ASM-NEXT: str r0, [sp, #8] 26 ; ASM-NEXT: str r0, [sp, #8]
27 ; ASM-NEXT: str r1, [sp, #4] 27 ; ASM-NEXT: str r1, [sp, #4]
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 ; IASM-NEXT: .byte 0xd0 167 ; IASM-NEXT: .byte 0xd0
168 ; IASM-NEXT: .byte 0x8d 168 ; IASM-NEXT: .byte 0x8d
169 ; IASM-NEXT: .byte 0xe2 169 ; IASM-NEXT: .byte 0xe2
170 170
171 ; IASM-NEXT: .byte 0x1e 171 ; IASM-NEXT: .byte 0x1e
172 ; IASM-NEXT: .byte 0xff 172 ; IASM-NEXT: .byte 0xff
173 ; IASM-NEXT: .byte 0x2f 173 ; IASM-NEXT: .byte 0x2f
174 ; IASM-NEXT: .byte 0xe1 174 ; IASM-NEXT: .byte 0xe1
175 175
176 } 176 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698