OLD | NEW |
1 ; This is a smoke test of nop insertion. | 1 ; This is a smoke test of nop insertion. |
2 | 2 |
3 ; REQUIRES: allow_dump | 3 ; REQUIRES: allow_dump |
4 | 4 |
5 ; Use filetype=asm because this currently depends on the /* variant */ | 5 ; Use filetype=asm because this currently depends on the /* variant */ |
6 ; assembler comment. | 6 ; assembler comment. |
7 | 7 |
8 ; RUN: %p2i -i %s --filetype=asm -a -sz-seed=1 -nop-insertion \ | 8 ; RUN: %p2i -i %s --filetype=asm -a -sz-seed=1 -nop-insertion \ |
9 ; RUN: -nop-insertion-percentage=50 -max-nops-per-instruction=1 \ | 9 ; RUN: -nop-insertion-percentage=50 -max-nops-per-instruction=1 \ |
10 ; RUN: | FileCheck %s --check-prefix=PROB50 | 10 ; RUN: | FileCheck %s --check-prefix=PROB50 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 ; SANDBOX50: .bundle_unlock | 142 ; SANDBOX50: .bundle_unlock |
143 | 143 |
144 ; ARM110P2: mul_v4i32: | 144 ; ARM110P2: mul_v4i32: |
145 ; ARM110P2-NEXT: .Lmul_v4i32$entry: | 145 ; ARM110P2-NEXT: .Lmul_v4i32$entry: |
146 ; ARM110P2-NEXT: .bundle_lock | 146 ; ARM110P2-NEXT: .bundle_lock |
147 ; ARM110P2-NEXT: sub sp, sp, #48 | 147 ; ARM110P2-NEXT: sub sp, sp, #48 |
148 ; ARM110P2-NEXT: bic sp, sp, #3221225472 | 148 ; ARM110P2-NEXT: bic sp, sp, #3221225472 |
149 ; ARM110P2-NEXT: .bundle_unlock | 149 ; ARM110P2-NEXT: .bundle_unlock |
150 ; ARM110P2-NEXT: nop | 150 ; ARM110P2-NEXT: nop |
151 ; ARM110P2-NEXT: nop | 151 ; ARM110P2-NEXT: nop |
| 152 ; ARM110P2-NEXT: add ip, sp, #32 |
| 153 ; ARM110P2-NEXT: nop |
| 154 ; ARM110P2-NEXT: nop |
152 ; ARM110P2-NEXT: .bundle_lock | 155 ; ARM110P2-NEXT: .bundle_lock |
153 ; ARM110P2-NEXT: add ip, sp, #32 | |
154 ; ARM110P2-NEXT: bic ip, ip, #3221225472 | 156 ; ARM110P2-NEXT: bic ip, ip, #3221225472 |
155 ; ARM110P2-NEXT: vst1.32 q0, [ip] | 157 ; ARM110P2-NEXT: vst1.32 q0, [ip] |
156 ; ARM110P2-NEXT: .bundle_unlock | 158 ; ARM110P2-NEXT: .bundle_unlock |
157 ; ARM110P2-NEXT: nop | 159 ; ARM110P2-NEXT: nop |
158 ; ARM110P2-NEXT: nop | 160 ; ARM110P2-NEXT: nop |
159 ; ARM110P2-NEXT: # [sp, #32] = def.pseudo | 161 ; ARM110P2-NEXT: # [sp, #32] = def.pseudo |
| 162 ; ARM110P2-NEXT: add ip, sp, #16 |
| 163 ; ARM110P2-NEXT: nop |
| 164 ; ARM110P2-NEXT: nop |
160 ; ARM110P2-NEXT: .bundle_lock | 165 ; ARM110P2-NEXT: .bundle_lock |
161 ; ARM110P2-NEXT: add ip, sp, #16 | |
162 ; ARM110P2-NEXT: bic ip, ip, #3221225472 | 166 ; ARM110P2-NEXT: bic ip, ip, #3221225472 |
163 ; ARM110P2-NEXT: vst1.32 q1, [ip] | 167 ; ARM110P2-NEXT: vst1.32 q1, [ip] |
164 ; ARM110P2-NEXT: .bundle_unlock | 168 ; ARM110P2-NEXT: .bundle_unlock |
165 ; ARM110P2-NEXT: nop | 169 ; ARM110P2-NEXT: nop |
166 ; ARM110P2-NEXT: nop | 170 ; ARM110P2-NEXT: nop |
167 ; ARM110P2-NEXT: # [sp, #16] = def.pseudo | 171 ; ARM110P2-NEXT: # [sp, #16] = def.pseudo |
| 172 ; ARM110P2-NEXT: add ip, sp, #32 |
| 173 ; ARM110P2-NEXT: nop |
| 174 ; ARM110P2-NEXT: nop |
168 ; ARM110P2-NEXT: .bundle_lock | 175 ; ARM110P2-NEXT: .bundle_lock |
169 ; ARM110P2-NEXT: add ip, sp, #32 | |
170 ; ARM110P2-NEXT: bic ip, ip, #3221225472 | 176 ; ARM110P2-NEXT: bic ip, ip, #3221225472 |
171 ; ARM110P2-NEXT: vld1.32 q0, [ip] | 177 ; ARM110P2-NEXT: vld1.32 q0, [ip] |
172 ; ARM110P2-NEXT: .bundle_unlock | 178 ; ARM110P2-NEXT: .bundle_unlock |
173 ; ARM110P2-NEXT: nop | 179 ; ARM110P2-NEXT: nop |
174 ; ARM110P2-NEXT: nop | 180 ; ARM110P2-NEXT: nop |
| 181 ; ARM110P2-NEXT: add ip, sp, #16 |
| 182 ; ARM110P2-NEXT: nop |
| 183 ; ARM110P2-NEXT: nop |
175 ; ARM110P2-NEXT: .bundle_lock | 184 ; ARM110P2-NEXT: .bundle_lock |
176 ; ARM110P2-NEXT: add ip, sp, #16 | |
177 ; ARM110P2-NEXT: bic ip, ip, #3221225472 | 185 ; ARM110P2-NEXT: bic ip, ip, #3221225472 |
178 ; ARM110P2-NEXT: vld1.32 q1, [ip] | 186 ; ARM110P2-NEXT: vld1.32 q1, [ip] |
179 ; ARM110P2-NEXT: .bundle_unlock | 187 ; ARM110P2-NEXT: .bundle_unlock |
180 ; ARM110P2-NEXT: nop | 188 ; ARM110P2-NEXT: nop |
181 ; ARM110P2-NEXT: nop | 189 ; ARM110P2-NEXT: nop |
182 ; ARM110P2-NEXT: vmul.i32 q0, q0, q1 | 190 ; ARM110P2-NEXT: vmul.i32 q0, q0, q1 |
183 ; ARM110P2-NEXT: nop | 191 ; ARM110P2-NEXT: nop |
184 ; ARM110P2-NEXT: nop | 192 ; ARM110P2-NEXT: nop |
185 ; ARM110P2-NEXT: .bundle_lock | |
186 ; ARM110P2-NEXT: vst1.32 q0, [sp] | 193 ; ARM110P2-NEXT: vst1.32 q0, [sp] |
187 ; ARM110P2-NEXT: .bundle_unlock | |
188 ; ARM110P2-NEXT: nop | 194 ; ARM110P2-NEXT: nop |
189 ; ARM110P2-NEXT: nop | 195 ; ARM110P2-NEXT: nop |
190 ; ARM110P2-NEXT: # [sp] = def.pseudo | 196 ; ARM110P2-NEXT: # [sp] = def.pseudo |
191 ; ARM110P2-NEXT: .bundle_lock | |
192 ; ARM110P2-NEXT: vld1.32 q0, [sp] | 197 ; ARM110P2-NEXT: vld1.32 q0, [sp] |
193 ; ARM110P2-NEXT: .bundle_unlock | |
194 ; ARM110P2-NEXT: nop | 198 ; ARM110P2-NEXT: nop |
195 ; ARM110P2-NEXT: nop | 199 ; ARM110P2-NEXT: nop |
196 ; ARM110P2-NEXT: .bundle_lock | 200 ; ARM110P2-NEXT: .bundle_lock |
197 ; ARM110P2-NEXT: add sp, sp, #48 | 201 ; ARM110P2-NEXT: add sp, sp, #48 |
198 ; ARM110P2-NEXT: bic sp, sp, #3221225472 | 202 ; ARM110P2-NEXT: bic sp, sp, #3221225472 |
199 ; ARM110P2-NEXT: .bundle_unlock | 203 ; ARM110P2-NEXT: .bundle_unlock |
200 ; ARM110P2-NEXT: nop | 204 ; ARM110P2-NEXT: nop |
201 ; ARM110P2-NEXT: nop | 205 ; ARM110P2-NEXT: nop |
202 ; ARM110P2-NEXT: .bundle_lock | 206 ; ARM110P2-NEXT: .bundle_lock |
203 ; ARM110P2-NEXT: bic lr, lr, #3221225487 | 207 ; ARM110P2-NEXT: bic lr, lr, #3221225487 |
204 ; ARM110P2-NEXT: bx lr | 208 ; ARM110P2-NEXT: bx lr |
205 ; ARM110P2-NEXT: .bundle_unlock | 209 ; ARM110P2-NEXT: .bundle_unlock |
206 ; ARM110P2-NEXT: nop | 210 ; ARM110P2-NEXT: nop |
207 ; ARM110P2-NEXT: nop | 211 ; ARM110P2-NEXT: nop |
208 | 212 |
209 } | 213 } |
OLD | NEW |