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

Side by Side Diff: tests_lit/assembler/arm32/push-pop.ll

Issue 1452293003: Add BL (immediate) and BLX (register) to ARM 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 ; Show that we know how to translate push and pop. 1 ; Show that we know how to translate push and pop.
2 ; TODO(kschimpf) Translate pop instructions. 2 ; TODO(kschimpf) Translate pop instructions.
3 3
4 ; NOTE: We use -O2 to get rid of memory stores. 4 ; NOTE: We use -O2 to get rid of memory stores.
5 5
6 ; REQUIRES: allow_dump 6 ; REQUIRES: allow_dump
7 7
8 ; Compile using standalone assembler. 8 ; Compile using standalone assembler.
9 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -O2 -allow-extern \ 9 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -O2 -allow-extern \
10 ; RUN: | FileCheck %s --check-prefix=ASM 10 ; RUN: | FileCheck %s --check-prefix=ASM
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 ; IASM-NEXT:.LSinglePushPop$__0: 50 ; IASM-NEXT:.LSinglePushPop$__0:
51 ; IASM-NEXT: .byte 0x4 51 ; IASM-NEXT: .byte 0x4
52 ; IASM-NEXT: .byte 0xe0 52 ; IASM-NEXT: .byte 0xe0
53 ; IASM-NEXT: .byte 0x2d 53 ; IASM-NEXT: .byte 0x2d
54 ; IASM-NEXT: .byte 0xe5 54 ; IASM-NEXT: .byte 0xe5
55 55
56 ; IASM-NEXT: .byte 0xc 56 ; IASM-NEXT: .byte 0xc
57 ; IASM-NEXT: .byte 0xd0 57 ; IASM-NEXT: .byte 0xd0
58 ; IASM-NEXT: .byte 0x4d 58 ; IASM-NEXT: .byte 0x4d
59 ; IASM-NEXT: .byte 0xe2 59 ; IASM-NEXT: .byte 0xe2
60 ; IASM-NEXT: bl DoSomething 60 ; IASM-NEXT: bl DoSomething @ .word ebfffffe
61 ; IASM-NEXT: .byte 0xc 61 ; IASM-NEXT: .byte 0xc
62 ; IASM-NEXT: .byte 0xd0 62 ; IASM-NEXT: .byte 0xd0
63 ; IASM-NEXT: .byte 0x8d 63 ; IASM-NEXT: .byte 0x8d
64 ; IASM-NEXT: .byte 0xe2 64 ; IASM-NEXT: .byte 0xe2
65 65
66 ; IASM-NEXT: .byte 0x4 66 ; IASM-NEXT: .byte 0x4
67 ; IASM-NEXT: .byte 0xe0 67 ; IASM-NEXT: .byte 0xe0
68 ; IASM-NEXT: .byte 0x9d 68 ; IASM-NEXT: .byte 0x9d
69 ; IASM-NEXT: .byte 0xe4 69 ; IASM-NEXT: .byte 0xe4
70 70
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 ; IASM-NEXT: .byte 0x0 127 ; IASM-NEXT: .byte 0x0
128 ; IASM-NEXT: .byte 0x40 128 ; IASM-NEXT: .byte 0x40
129 ; IASM-NEXT: .byte 0xa0 129 ; IASM-NEXT: .byte 0xa0
130 ; IASM-NEXT: .byte 0xe1 130 ; IASM-NEXT: .byte 0xe1
131 131
132 ; IASM-NEXT: .byte 0x1 132 ; IASM-NEXT: .byte 0x1
133 ; IASM-NEXT: .byte 0x50 133 ; IASM-NEXT: .byte 0x50
134 ; IASM-NEXT: .byte 0xa0 134 ; IASM-NEXT: .byte 0xa0
135 ; IASM-NEXT: .byte 0xe1 135 ; IASM-NEXT: .byte 0xe1
136 136
137 ; IASM-NEXT: bl DoSomething 137 ; IASM-NEXT: bl DoSomething @ .word ebfffffe
138 ; IASM-NEXT: .byte 0x5 138 ; IASM-NEXT: .byte 0x5
139 ; IASM-NEXT: .byte 0x40 139 ; IASM-NEXT: .byte 0x40
140 ; IASM-NEXT: .byte 0x84 140 ; IASM-NEXT: .byte 0x84
141 ; IASM-NEXT: .byte 0xe0 141 ; IASM-NEXT: .byte 0xe0
142 142
143 ; IASM-NEXT: .byte 0x4 143 ; IASM-NEXT: .byte 0x4
144 ; IASM-NEXT: .byte 0x0 144 ; IASM-NEXT: .byte 0x0
145 ; IASM-NEXT: .byte 0xa0 145 ; IASM-NEXT: .byte 0xa0
146 ; IASM-NEXT: .byte 0xe1 146 ; IASM-NEXT: .byte 0xe1
147 147
148 ; IASM-NEXT: .byte 0x4 148 ; IASM-NEXT: .byte 0x4
149 ; IASM-NEXT: .byte 0xd0 149 ; IASM-NEXT: .byte 0xd0
150 ; IASM-NEXT: .byte 0x8d 150 ; IASM-NEXT: .byte 0x8d
151 ; IASM-NEXT: .byte 0xe2 151 ; IASM-NEXT: .byte 0xe2
152 152
153 ; IASM-NEXT: .byte 0x30 153 ; IASM-NEXT: .byte 0x30
154 ; IASM-NEXT: .byte 0x40 154 ; IASM-NEXT: .byte 0x40
155 ; IASM-NEXT: .byte 0xbd 155 ; IASM-NEXT: .byte 0xbd
156 ; IASM-NEXT: .byte 0xe8 156 ; IASM-NEXT: .byte 0xe8
157 157
158 ; IASM: .byte 0x1e 158 ; IASM: .byte 0x1e
159 ; IASM-NEXT: .byte 0xff 159 ; IASM-NEXT: .byte 0xff
160 ; IASM-NEXT: .byte 0x2f 160 ; IASM-NEXT: .byte 0x2f
161 ; IASM-NEXT: .byte 0xe1 161 ; IASM-NEXT: .byte 0xe1
OLDNEW
« tests_lit/assembler/arm32/blx.ll ('K') | « tests_lit/assembler/arm32/blx.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698