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

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

Issue 1425243002: Fix more movw/movt ARM integrated assembler tests. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | 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 \
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 ; ASM-NEXT: bx lr 48 ; ASM-NEXT: bx lr
49 49
50 ; DIS-LABEL:00000000 <load>: 50 ; DIS-LABEL:00000000 <load>:
51 ; DIS-NEXT: 0: e3000000 51 ; DIS-NEXT: 0: e3000000
52 ; DIS-NEXT: 4: e3400000 52 ; DIS-NEXT: 4: e3400000
53 ; DIS-NEXT: 8: e5900000 53 ; DIS-NEXT: 8: e5900000
54 ; DIS-NEXT: c: e12fff1e 54 ; DIS-NEXT: c: e12fff1e
55 55
56 ; IASM-LABEL:load: 56 ; IASM-LABEL:load:
57 ; IASM-NEXT: .Lload$__0: 57 ; IASM-NEXT: .Lload$__0:
58 ; IASM-NEXT: movw r0, #:lower16:global1 58 ; IASM-NEXT: movw r0, #:lower16:global1 @ .word e3000000
59 ; IASM-NEXT: movt r0, #:upper16:global1 59 ; IASM-NEXT: movt r0, #:upper16:global1 @ .word e3400000
60 ; IASM-NEXT: .byte 0x0 60 ; IASM-NEXT: .byte 0x0
61 ; IASM-NEXT: .byte 0x0 61 ; IASM-NEXT: .byte 0x0
62 ; IASM-NEXT: .byte 0x90 62 ; IASM-NEXT: .byte 0x90
63 ; IASM-NEXT: .byte 0xe5 63 ; IASM-NEXT: .byte 0xe5
64 ; IASM-NEXT: .byte 0x1e 64 ; IASM-NEXT: .byte 0x1e
65 ; IASM-NEXT: .byte 0xff 65 ; IASM-NEXT: .byte 0xff
66 ; IASM-NEXT: .byte 0x2f 66 ; IASM-NEXT: .byte 0x2f
67 ; IASM-NEXT: .byte 0xe1 67 ; IASM-NEXT: .byte 0xe1
68 68
69 define internal void @store(i32 %v) { 69 define internal void @store(i32 %v) {
(...skipping 10 matching lines...) Expand all
80 ; ASM-NEXT: bx lr 80 ; ASM-NEXT: bx lr
81 81
82 ; DIS-LABEL:00000010 <store>: 82 ; DIS-LABEL:00000010 <store>:
83 ; DIS-NEXT: 10: e3001000 83 ; DIS-NEXT: 10: e3001000
84 ; DIS-NEXT: 14: e3401000 84 ; DIS-NEXT: 14: e3401000
85 ; DIS-NEXT: 18: e5810000 85 ; DIS-NEXT: 18: e5810000
86 ; DIS-NEXT: 1c: e12fff1e 86 ; DIS-NEXT: 1c: e12fff1e
87 87
88 ; IASM-LABEL:store: 88 ; IASM-LABEL:store:
89 ; IASM-NEXT: .Lstore$__0: 89 ; IASM-NEXT: .Lstore$__0:
90 ; IASM-NEXT: movw r1, #:lower16:global1 90 ; IASM-NEXT: movw r1, #:lower16:global1 @ .word e3001000
91 ; IASM-NEXT: movt r1, #:upper16:global1 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 | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698