Chromium Code Reviews

Side by Side Diff: tests_lit/assembler/arm32/global-load-store.ll

Issue 1430973003: Fix textual emission of label instructions in ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove -unsafe-ias from lit tests that don't need it. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « tests_lit/assembler/arm32/branch-simple.ll ('k') | tests_lit/assembler/arm32/sdiv.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; TODO(kschimpf): Show that we can handle global variable loads/stores. 1 ; TODO(kschimpf): Show that we can handle global variable loads/stores.
2 2
3 ; REQUIRES: allow_dump 3 ; REQUIRES: allow_dump
4 4
5 ; Compile using standalone assembler. 5 ; Compile using standalone assembler.
6 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -O2 \ 6 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -O2 \
7 ; RUN: | FileCheck %s --check-prefix=ASM 7 ; RUN: | FileCheck %s --check-prefix=ASM
8 8
9 ; Show bytes in assembled standalone code. 9 ; Show bytes in assembled standalone code.
10 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --assemble --disassemble \ 10 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --assemble --disassemble \
11 ; RUN: --args -O2 | FileCheck %s --check-prefix=DIS 11 ; RUN: --args -O2 | FileCheck %s --check-prefix=DIS
12 12
13 ; Compile using integrated assembler. 13 ; Compile using integrated assembler.
14 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --args -O2 -unsafe-ias \ 14 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --args -O2 \
15 ; RUN: | FileCheck %s --check-prefix=IASM 15 ; RUN: | FileCheck %s --check-prefix=IASM
16 16
17 ; Show bytes in assembled integrated code. 17 ; Show bytes in assembled integrated code.
18 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --assemble --disassemble \ 18 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --assemble --disassemble \
19 ; RUN: --args -O2 -unsafe-ias | FileCheck %s --check-prefix=DIS 19 ; RUN: --args -O2 | FileCheck %s --check-prefix=DIS
20 20
21 @filler = internal global [128 x i8] zeroinitializer, align 4 21 @filler = internal global [128 x i8] zeroinitializer, align 4
22 22
23 @global1 = internal global [4 x i8] zeroinitializer, align 4 23 @global1 = internal global [4 x i8] zeroinitializer, align 4
24 24
25 ; ASM-LABEL: global1: 25 ; ASM-LABEL: global1:
26 ; ASM-NEXT: .zero 4 26 ; ASM-NEXT: .zero 4
27 ; ASM-NEXT: .size global1, 4 27 ; ASM-NEXT: .size global1, 4
28 ; ASM-NEXT: .text 28 ; ASM-NEXT: .text
29 ; ASM-NEXT: .p2alignl 4,0xe7fedef0 29 ; ASM-NEXT: .p2alignl 4,0xe7fedef0
(...skipping 60 matching lines...)
90 ; IASM-NEXT: movw r1, #:lower16:global1 @ .word e3001000 90 ; IASM-NEXT: movw r1, #:lower16:global1 @ .word e3001000
91 ; IASM-NEXT: movt r1, #:upper16:global1 @ .word e3401000 91 ; IASM-NEXT: movt r1, #:upper16:global1 @ .word e3401000
92 ; IASM-NEXT: .byte 0x0 92 ; IASM-NEXT: .byte 0x0
93 ; IASM-NEXT: .byte 0x0 93 ; IASM-NEXT: .byte 0x0
94 ; IASM-NEXT: .byte 0x81 94 ; IASM-NEXT: .byte 0x81
95 ; IASM-NEXT: .byte 0xe5 95 ; IASM-NEXT: .byte 0xe5
96 ; IASM-NEXT: .byte 0x1e 96 ; IASM-NEXT: .byte 0x1e
97 ; IASM-NEXT: .byte 0xff 97 ; IASM-NEXT: .byte 0xff
98 ; IASM-NEXT: .byte 0x2f 98 ; IASM-NEXT: .byte 0x2f
99 ; IASM-NEXT: .byte 0xe1 99 ; IASM-NEXT: .byte 0xe1
OLDNEW
« no previous file with comments | « tests_lit/assembler/arm32/branch-simple.ll ('k') | tests_lit/assembler/arm32/sdiv.ll » ('j') | no next file with comments »

Powered by Google App Engine