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

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

Issue 1424923005: Add workaround to allow testing of ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. 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 branching instructions. 1 ; Test branching instructions.
2 ; TODO(kschimpf): Get this working. 2 ; TODO(kschimpf): Get this working.
3 3
4 ; REQUIRES: allow_dump 4 ; REQUIRES: allow_dump
5 5
6 ; Compile using standalone assembler. 6 ; Compile using standalone assembler.
7 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -Om1 \ 7 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -Om1 \
8 ; RUN: | FileCheck %s --check-prefix=ASM 8 ; RUN: | FileCheck %s --check-prefix=ASM
9 9
10 ; Show bytes in assembled standalone code. 10 ; Show bytes in assembled standalone code.
11 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --assemble --disassemble \ 11 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --assemble --disassemble \
12 ; RUN: --args -Om1 | FileCheck %s --check-prefix=DIS 12 ; RUN: --args -Om1 | FileCheck %s --check-prefix=DIS
13 13
14 ; Compile using integrated assembler. 14 ; Compile using integrated assembler.
15 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --args -Om1 \ 15 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --args -Om1 -unsafe-ias \
16 ; RUN: | FileCheck %s --check-prefix=IASM 16 ; RUN: | FileCheck %s --check-prefix=IASM
17 17
18 ; Show bytes in assembled integrated code. 18 ; Show bytes in assembled integrated code.
19 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --assemble --disassemble \ 19 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --assemble --disassemble \
20 ; RUN: --args -Om1 | FileCheck %s --check-prefix=DIS 20 ; RUN: --args -Om1 -unsafe-ias | FileCheck %s --check-prefix=DIS
21 21
22 define internal void @simple_uncond_branch() { 22 define internal void @simple_uncond_branch() {
23 ; DIS-LABEL: 00000000 <simple_uncond_branch>: 23 ; DIS-LABEL: 00000000 <simple_uncond_branch>:
24 ; ASM-LABEL: simple_uncond_branch: 24 ; ASM-LABEL: simple_uncond_branch:
25 ; IASM-LABEL:simple_uncond_branch: 25 ; IASM-LABEL:simple_uncond_branch:
26 26
27 ; ASM-NEXT: .Lsimple_uncond_branch$__0: 27 ; ASM-NEXT: .Lsimple_uncond_branch$__0:
28 ; IASM-NEXT: .Lsimple_uncond_branch$__0: 28 ; IASM-NEXT: .Lsimple_uncond_branch$__0:
29 29
30 br label %l2 30 br label %l2
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 ret void 66 ret void
67 ; ASM-NEXT: bx lr 67 ; ASM-NEXT: bx lr
68 ; IASM-NEXT: .byte 0x1e 68 ; IASM-NEXT: .byte 0x1e
69 ; IASM-NEXT: .byte 0xff 69 ; IASM-NEXT: .byte 0xff
70 ; IASM-NEXT: .byte 0x2f 70 ; IASM-NEXT: .byte 0x2f
71 ; IASM-NEXT: .byte 0xe1 71 ; IASM-NEXT: .byte 0xe1
72 ; DIS-NEXT: c: e12fff1e 72 ; DIS-NEXT: c: e12fff1e
73 73
74 } 74 }
OLDNEW
« no previous file with comments | « tests_lit/assembler/arm32/branch-mult-fwd.ll ('k') | tests_lit/assembler/arm32/global-load-store.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698