Lines Matching refs:__
179 #define __ assembler-> macro
183 __ FinalizeCode(); in EmitAndCheck()
184 size_t cs = __ CodeSize(); in EmitAndCheck()
187 __ FinalizeInstructions(code); in EmitAndCheck()
200 #undef __
211 #define __ assembler. macro
214 __ movs(R0, ShifterOperand(R1)); in TEST_F()
215 __ mov(R0, ShifterOperand(R1)); in TEST_F()
216 __ mov(R8, ShifterOperand(R9)); in TEST_F()
218 __ mov(R0, ShifterOperand(1)); in TEST_F()
219 __ mov(R8, ShifterOperand(9)); in TEST_F()
225 __ Force32Bit(); in TEST_F()
227 __ mov(R0, ShifterOperand(R1)); in TEST_F()
228 __ mov(R8, ShifterOperand(R9)); in TEST_F()
234 __ mov(R0, ShifterOperand(R1)); in TEST_F()
235 __ adds(R0, R1, ShifterOperand(R2)); in TEST_F()
236 __ add(R0, R1, ShifterOperand(0)); in TEST_F()
243 __ mvn(R0, ShifterOperand(R1), AL, kCcKeep); in TEST_F()
244 __ add(R0, R1, ShifterOperand(R2), AL, kCcKeep); in TEST_F()
245 __ sub(R0, R1, ShifterOperand(R2), AL, kCcKeep); in TEST_F()
246 __ and_(R0, R1, ShifterOperand(R2), AL, kCcKeep); in TEST_F()
247 __ orr(R0, R1, ShifterOperand(R2), AL, kCcKeep); in TEST_F()
248 __ orn(R0, R1, ShifterOperand(R2), AL, kCcKeep); in TEST_F()
249 __ eor(R0, R1, ShifterOperand(R2), AL, kCcKeep); in TEST_F()
250 __ bic(R0, R1, ShifterOperand(R2), AL, kCcKeep); in TEST_F()
251 __ adc(R0, R1, ShifterOperand(R2), AL, kCcKeep); in TEST_F()
252 __ sbc(R0, R1, ShifterOperand(R2), AL, kCcKeep); in TEST_F()
253 __ rsb(R0, R1, ShifterOperand(R2), AL, kCcKeep); in TEST_F()
254 __ teq(R0, ShifterOperand(R1)); in TEST_F()
257 __ movs(R0, ShifterOperand(R1)); in TEST_F()
258 __ mov(R0, ShifterOperand(R1), AL, kCcKeep); in TEST_F()
259 __ mvns(R0, ShifterOperand(R1)); in TEST_F()
260 __ add(R0, R0, ShifterOperand(R1), AL, kCcKeep); in TEST_F()
261 __ adds(R0, R1, ShifterOperand(R2)); in TEST_F()
262 __ subs(R0, R1, ShifterOperand(R2)); in TEST_F()
263 __ adcs(R0, R0, ShifterOperand(R1)); in TEST_F()
264 __ sbcs(R0, R0, ShifterOperand(R1)); in TEST_F()
265 __ ands(R0, R0, ShifterOperand(R1)); in TEST_F()
266 __ orrs(R0, R0, ShifterOperand(R1)); in TEST_F()
267 __ eors(R0, R0, ShifterOperand(R1)); in TEST_F()
268 __ bics(R0, R0, ShifterOperand(R1)); in TEST_F()
269 __ tst(R0, ShifterOperand(R1)); in TEST_F()
270 __ cmp(R0, ShifterOperand(R1)); in TEST_F()
271 __ cmn(R0, ShifterOperand(R1)); in TEST_F()
274 __ mov(R1, ShifterOperand(R8), AL, kCcKeep); in TEST_F()
275 __ mov(R9, ShifterOperand(R0), AL, kCcKeep); in TEST_F()
276 __ mov(R8, ShifterOperand(R9), AL, kCcKeep); in TEST_F()
277 __ add(R1, R1, ShifterOperand(R8), AL, kCcKeep); in TEST_F()
278 __ add(R9, R9, ShifterOperand(R0), AL, kCcKeep); in TEST_F()
279 __ add(R8, R8, ShifterOperand(R9), AL, kCcKeep); in TEST_F()
280 __ cmp(R0, ShifterOperand(R9)); in TEST_F()
281 __ cmp(R8, ShifterOperand(R1)); in TEST_F()
282 __ cmp(R9, ShifterOperand(R8)); in TEST_F()
286 __ rsbs(R0, R1, ShifterOperand(0)); in TEST_F()
287 __ rsbs(R0, R0, ShifterOperand(0)); // Check Rd == Rn code path. in TEST_F()
290 __ movs(R0, ShifterOperand(R8)); in TEST_F()
291 __ mvns(R0, ShifterOperand(R8)); in TEST_F()
292 __ add(R0, R1, ShifterOperand(R8), AL, kCcKeep); in TEST_F()
293 __ adds(R0, R1, ShifterOperand(R8)); in TEST_F()
294 __ subs(R0, R1, ShifterOperand(R8)); in TEST_F()
295 __ adcs(R0, R0, ShifterOperand(R8)); in TEST_F()
296 __ sbcs(R0, R0, ShifterOperand(R8)); in TEST_F()
297 __ ands(R0, R0, ShifterOperand(R8)); in TEST_F()
298 __ orrs(R0, R0, ShifterOperand(R8)); in TEST_F()
299 __ eors(R0, R0, ShifterOperand(R8)); in TEST_F()
300 __ bics(R0, R0, ShifterOperand(R8)); in TEST_F()
301 __ tst(R0, ShifterOperand(R8)); in TEST_F()
302 __ cmn(R0, ShifterOperand(R8)); in TEST_F()
303 __ rsbs(R0, R8, ShifterOperand(0)); // Check that this is not emitted as 16-bit. in TEST_F()
304 __ rsbs(R8, R8, ShifterOperand(0)); // Check that this is not emitted as 16-bit (Rd == Rn). in TEST_F()
307 __ it(arm::EQ); in TEST_F()
308 __ mvns(R0, ShifterOperand(R1), arm::EQ); in TEST_F()
309 __ it(arm::EQ); in TEST_F()
310 __ adds(R0, R1, ShifterOperand(R2), arm::EQ); in TEST_F()
311 __ it(arm::EQ); in TEST_F()
312 __ subs(R0, R1, ShifterOperand(R2), arm::EQ); in TEST_F()
313 __ it(arm::EQ); in TEST_F()
314 __ adcs(R0, R0, ShifterOperand(R1), arm::EQ); in TEST_F()
315 __ it(arm::EQ); in TEST_F()
316 __ sbcs(R0, R0, ShifterOperand(R1), arm::EQ); in TEST_F()
317 __ it(arm::EQ); in TEST_F()
318 __ ands(R0, R0, ShifterOperand(R1), arm::EQ); in TEST_F()
319 __ it(arm::EQ); in TEST_F()
320 __ orrs(R0, R0, ShifterOperand(R1), arm::EQ); in TEST_F()
321 __ it(arm::EQ); in TEST_F()
322 __ eors(R0, R0, ShifterOperand(R1), arm::EQ); in TEST_F()
323 __ it(arm::EQ); in TEST_F()
324 __ bics(R0, R0, ShifterOperand(R1), arm::EQ); in TEST_F()
327 __ it(arm::EQ); in TEST_F()
328 __ mvn(R0, ShifterOperand(R1), arm::EQ, kCcKeep); in TEST_F()
329 __ it(arm::EQ); in TEST_F()
330 __ add(R0, R1, ShifterOperand(R2), arm::EQ, kCcKeep); in TEST_F()
331 __ it(arm::EQ); in TEST_F()
332 __ sub(R0, R1, ShifterOperand(R2), arm::EQ, kCcKeep); in TEST_F()
333 __ it(arm::EQ); in TEST_F()
334 __ adc(R0, R0, ShifterOperand(R1), arm::EQ, kCcKeep); in TEST_F()
335 __ it(arm::EQ); in TEST_F()
336 __ sbc(R0, R0, ShifterOperand(R1), arm::EQ, kCcKeep); in TEST_F()
337 __ it(arm::EQ); in TEST_F()
338 __ and_(R0, R0, ShifterOperand(R1), arm::EQ, kCcKeep); in TEST_F()
339 __ it(arm::EQ); in TEST_F()
340 __ orr(R0, R0, ShifterOperand(R1), arm::EQ, kCcKeep); in TEST_F()
341 __ it(arm::EQ); in TEST_F()
342 __ eor(R0, R0, ShifterOperand(R1), arm::EQ, kCcKeep); in TEST_F()
343 __ it(arm::EQ); in TEST_F()
344 __ bic(R0, R0, ShifterOperand(R1), arm::EQ, kCcKeep); in TEST_F()
347 __ mov(R0, ShifterOperand(R1)); in TEST_F()
348 __ mvn(R0, ShifterOperand(R1)); in TEST_F()
349 __ add(R0, R0, ShifterOperand(R1)); in TEST_F()
350 __ add(R0, R1, ShifterOperand(R2)); in TEST_F()
351 __ sub(R0, R1, ShifterOperand(R2)); in TEST_F()
352 __ adc(R0, R0, ShifterOperand(R1)); in TEST_F()
353 __ sbc(R0, R0, ShifterOperand(R1)); in TEST_F()
354 __ and_(R0, R0, ShifterOperand(R1)); in TEST_F()
355 __ orr(R0, R0, ShifterOperand(R1)); in TEST_F()
356 __ eor(R0, R0, ShifterOperand(R1)); in TEST_F()
357 __ bic(R0, R0, ShifterOperand(R1)); in TEST_F()
358 __ mov(R1, ShifterOperand(R8)); in TEST_F()
359 __ mov(R9, ShifterOperand(R0)); in TEST_F()
360 __ mov(R8, ShifterOperand(R9)); in TEST_F()
361 __ add(R1, R1, ShifterOperand(R8)); in TEST_F()
362 __ add(R9, R9, ShifterOperand(R0)); in TEST_F()
363 __ add(R8, R8, ShifterOperand(R9)); in TEST_F()
364 __ rsb(R0, R1, ShifterOperand(0)); in TEST_F()
365 __ rsb(R0, R0, ShifterOperand(0)); in TEST_F()
368 __ add(R12, R1, ShifterOperand(R0), AL, kCcKeep); in TEST_F()
374 __ mov(R0, ShifterOperand(0x55)); in TEST_F()
375 __ mvn(R0, ShifterOperand(0x55)); in TEST_F()
376 __ add(R0, R1, ShifterOperand(0x55)); in TEST_F()
377 __ sub(R0, R1, ShifterOperand(0x55)); in TEST_F()
378 __ and_(R0, R1, ShifterOperand(0x55)); in TEST_F()
379 __ orr(R0, R1, ShifterOperand(0x55)); in TEST_F()
380 __ orn(R0, R1, ShifterOperand(0x55)); in TEST_F()
381 __ eor(R0, R1, ShifterOperand(0x55)); in TEST_F()
382 __ bic(R0, R1, ShifterOperand(0x55)); in TEST_F()
383 __ adc(R0, R1, ShifterOperand(0x55)); in TEST_F()
384 __ sbc(R0, R1, ShifterOperand(0x55)); in TEST_F()
385 __ rsb(R0, R1, ShifterOperand(0x55)); in TEST_F()
387 __ tst(R0, ShifterOperand(0x55)); in TEST_F()
388 __ teq(R0, ShifterOperand(0x55)); in TEST_F()
389 __ cmp(R0, ShifterOperand(0x55)); in TEST_F()
390 __ cmn(R0, ShifterOperand(0x55)); in TEST_F()
392 __ add(R0, R1, ShifterOperand(5)); in TEST_F()
393 __ sub(R0, R1, ShifterOperand(5)); in TEST_F()
395 __ movs(R0, ShifterOperand(0x55)); in TEST_F()
396 __ mvns(R0, ShifterOperand(0x55)); in TEST_F()
398 __ adds(R0, R1, ShifterOperand(5)); in TEST_F()
399 __ subs(R0, R1, ShifterOperand(5)); in TEST_F()
405 __ mov(R0, ShifterOperand(0x550055)); in TEST_F()
406 __ mvn(R0, ShifterOperand(0x550055)); in TEST_F()
407 __ add(R0, R1, ShifterOperand(0x550055)); in TEST_F()
408 __ sub(R0, R1, ShifterOperand(0x550055)); in TEST_F()
409 __ and_(R0, R1, ShifterOperand(0x550055)); in TEST_F()
410 __ orr(R0, R1, ShifterOperand(0x550055)); in TEST_F()
411 __ orn(R0, R1, ShifterOperand(0x550055)); in TEST_F()
412 __ eor(R0, R1, ShifterOperand(0x550055)); in TEST_F()
413 __ bic(R0, R1, ShifterOperand(0x550055)); in TEST_F()
414 __ adc(R0, R1, ShifterOperand(0x550055)); in TEST_F()
415 __ sbc(R0, R1, ShifterOperand(0x550055)); in TEST_F()
416 __ rsb(R0, R1, ShifterOperand(0x550055)); in TEST_F()
418 __ tst(R0, ShifterOperand(0x550055)); in TEST_F()
419 __ teq(R0, ShifterOperand(0x550055)); in TEST_F()
420 __ cmp(R0, ShifterOperand(0x550055)); in TEST_F()
421 __ cmn(R0, ShifterOperand(0x550055)); in TEST_F()
428 __ mov(R0, ShifterOperand(0x550055)); in TEST_F()
429 __ mov(R0, ShifterOperand(0x55005500)); in TEST_F()
430 __ mov(R0, ShifterOperand(0x55555555)); in TEST_F()
431 __ mov(R0, ShifterOperand(0xd5000000)); // rotated to first position in TEST_F()
432 __ mov(R0, ShifterOperand(0x6a000000)); // rotated to second position in TEST_F()
433 __ mov(R0, ShifterOperand(0x350)); // rotated to 2nd last position in TEST_F()
434 __ mov(R0, ShifterOperand(0x1a8)); // rotated to last position in TEST_F()
441 __ movs(R3, ShifterOperand(R4, LSL, 4)); in TEST_F()
442 __ movs(R3, ShifterOperand(R4, LSR, 5)); in TEST_F()
443 __ movs(R3, ShifterOperand(R4, ASR, 6)); in TEST_F()
446 __ movs(R3, ShifterOperand(R4, ROR, 7)); in TEST_F()
449 __ movs(R3, ShifterOperand(R4, RRX)); in TEST_F()
452 __ mov(R3, ShifterOperand(R4, LSL, 4), AL, kCcKeep); in TEST_F()
453 __ mov(R3, ShifterOperand(R4, LSR, 5), AL, kCcKeep); in TEST_F()
454 __ mov(R3, ShifterOperand(R4, ASR, 6), AL, kCcKeep); in TEST_F()
455 __ mov(R3, ShifterOperand(R4, ROR, 7), AL, kCcKeep); in TEST_F()
456 __ mov(R3, ShifterOperand(R4, RRX), AL, kCcKeep); in TEST_F()
459 __ movs(R8, ShifterOperand(R4, LSL, 4)); in TEST_F()
460 __ movs(R8, ShifterOperand(R4, LSR, 5)); in TEST_F()
461 __ movs(R8, ShifterOperand(R4, ASR, 6)); in TEST_F()
462 __ movs(R8, ShifterOperand(R4, ROR, 7)); in TEST_F()
463 __ movs(R8, ShifterOperand(R4, RRX)); in TEST_F()
473 __ Lsl(R3, R4, 4); in TEST_F()
474 __ Lsr(R3, R4, 5); in TEST_F()
475 __ Asr(R3, R4, 6); in TEST_F()
478 __ Ror(R3, R4, 7); in TEST_F()
481 __ Rrx(R3, R4); in TEST_F()
484 __ Lsl(R3, R4, 4, AL, kCcKeep); in TEST_F()
485 __ Lsr(R3, R4, 5, AL, kCcKeep); in TEST_F()
486 __ Asr(R3, R4, 6, AL, kCcKeep); in TEST_F()
487 __ Ror(R3, R4, 7, AL, kCcKeep); in TEST_F()
488 __ Rrx(R3, R4, AL, kCcKeep); in TEST_F()
491 __ Lsls(R8, R4, 4); in TEST_F()
492 __ Lsrs(R8, R4, 5); in TEST_F()
493 __ Asrs(R8, R4, 6); in TEST_F()
494 __ Rors(R8, R4, 7); in TEST_F()
495 __ Rrxs(R8, R4); in TEST_F()
501 __ ldr(R3, Address(R4, 24)); in TEST_F()
502 __ ldrb(R3, Address(R4, 24)); in TEST_F()
503 __ ldrh(R3, Address(R4, 24)); in TEST_F()
504 __ ldrsb(R3, Address(R4, 24)); in TEST_F()
505 __ ldrsh(R3, Address(R4, 24)); in TEST_F()
507 __ ldr(R3, Address(SP, 24)); in TEST_F()
510 __ ldr(R8, Address(R4, 24)); in TEST_F()
511 __ ldrb(R8, Address(R4, 24)); in TEST_F()
512 __ ldrh(R8, Address(R4, 24)); in TEST_F()
513 __ ldrsb(R8, Address(R4, 24)); in TEST_F()
514 __ ldrsh(R8, Address(R4, 24)); in TEST_F()
521 __ str(R3, Address(R4, 24)); in TEST_F()
522 __ strb(R3, Address(R4, 24)); in TEST_F()
523 __ strh(R3, Address(R4, 24)); in TEST_F()
525 __ str(R3, Address(SP, 24)); in TEST_F()
528 __ str(R8, Address(R4, 24)); in TEST_F()
529 __ strb(R8, Address(R4, 24)); in TEST_F()
530 __ strh(R8, Address(R4, 24)); in TEST_F()
536 __ ldr(R3, Address(R4, 24, Address::Mode::Offset)); in TEST_F()
537 __ ldr(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST_F()
538 __ ldr(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST_F()
539 __ ldr(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST_F()
540 __ ldr(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST_F()
541 __ ldr(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST_F()
543 __ ldrb(R3, Address(R4, 24, Address::Mode::Offset)); in TEST_F()
544 __ ldrb(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST_F()
545 __ ldrb(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST_F()
546 __ ldrb(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST_F()
547 __ ldrb(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST_F()
548 __ ldrb(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST_F()
550 __ ldrh(R3, Address(R4, 24, Address::Mode::Offset)); in TEST_F()
551 __ ldrh(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST_F()
552 __ ldrh(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST_F()
553 __ ldrh(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST_F()
554 __ ldrh(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST_F()
555 __ ldrh(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST_F()
557 __ ldrsb(R3, Address(R4, 24, Address::Mode::Offset)); in TEST_F()
558 __ ldrsb(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST_F()
559 __ ldrsb(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST_F()
560 __ ldrsb(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST_F()
561 __ ldrsb(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST_F()
562 __ ldrsb(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST_F()
564 __ ldrsh(R3, Address(R4, 24, Address::Mode::Offset)); in TEST_F()
565 __ ldrsh(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST_F()
566 __ ldrsh(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST_F()
567 __ ldrsh(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST_F()
568 __ ldrsh(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST_F()
569 __ ldrsh(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST_F()
576 __ str(R3, Address(R4, 24, Address::Mode::Offset)); in TEST_F()
577 __ str(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST_F()
578 __ str(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST_F()
579 __ str(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST_F()
580 __ str(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST_F()
581 __ str(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST_F()
583 __ strb(R3, Address(R4, 24, Address::Mode::Offset)); in TEST_F()
584 __ strb(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST_F()
585 __ strb(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST_F()
586 __ strb(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST_F()
587 __ strb(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST_F()
588 __ strb(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST_F()
590 __ strh(R3, Address(R4, 24, Address::Mode::Offset)); in TEST_F()
591 __ strh(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST_F()
592 __ strh(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST_F()
593 __ strh(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST_F()
594 __ strh(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST_F()
595 __ strh(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST_F()
601 __ ldr(R3, Address(R4, -24, Address::Mode::Offset)); in TEST_F()
602 __ ldr(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST_F()
603 __ ldr(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST_F()
604 __ ldr(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST_F()
605 __ ldr(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST_F()
606 __ ldr(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST_F()
608 __ ldrb(R3, Address(R4, -24, Address::Mode::Offset)); in TEST_F()
609 __ ldrb(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST_F()
610 __ ldrb(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST_F()
611 __ ldrb(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST_F()
612 __ ldrb(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST_F()
613 __ ldrb(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST_F()
615 __ ldrh(R3, Address(R4, -24, Address::Mode::Offset)); in TEST_F()
616 __ ldrh(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST_F()
617 __ ldrh(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST_F()
618 __ ldrh(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST_F()
619 __ ldrh(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST_F()
620 __ ldrh(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST_F()
622 __ ldrsb(R3, Address(R4, -24, Address::Mode::Offset)); in TEST_F()
623 __ ldrsb(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST_F()
624 __ ldrsb(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST_F()
625 __ ldrsb(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST_F()
626 __ ldrsb(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST_F()
627 __ ldrsb(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST_F()
629 __ ldrsh(R3, Address(R4, -24, Address::Mode::Offset)); in TEST_F()
630 __ ldrsh(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST_F()
631 __ ldrsh(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST_F()
632 __ ldrsh(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST_F()
633 __ ldrsh(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST_F()
634 __ ldrsh(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST_F()
636 __ str(R3, Address(R4, -24, Address::Mode::Offset)); in TEST_F()
637 __ str(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST_F()
638 __ str(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST_F()
639 __ str(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST_F()
640 __ str(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST_F()
641 __ str(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST_F()
643 __ strb(R3, Address(R4, -24, Address::Mode::Offset)); in TEST_F()
644 __ strb(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST_F()
645 __ strb(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST_F()
646 __ strb(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST_F()
647 __ strb(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST_F()
648 __ strb(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST_F()
650 __ strh(R3, Address(R4, -24, Address::Mode::Offset)); in TEST_F()
651 __ strh(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST_F()
652 __ strh(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST_F()
653 __ strh(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST_F()
654 __ strh(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST_F()
655 __ strh(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST_F()
661 __ strd(R2, Address(R0, 24, Address::Mode::Offset)); in TEST_F()
662 __ ldrd(R2, Address(R0, 24, Address::Mode::Offset)); in TEST_F()
668 __ strd(R2, Address(R0, 24, Address::Mode::Offset)); in TEST_F()
669 __ strd(R2, Address(R0, 24, Address::Mode::PreIndex)); in TEST_F()
670 __ strd(R2, Address(R0, 24, Address::Mode::PostIndex)); in TEST_F()
671 __ strd(R2, Address(R0, 24, Address::Mode::NegOffset)); in TEST_F()
672 __ strd(R2, Address(R0, 24, Address::Mode::NegPreIndex)); in TEST_F()
673 __ strd(R2, Address(R0, 24, Address::Mode::NegPostIndex)); in TEST_F()
675 __ ldrd(R2, Address(R0, 24, Address::Mode::Offset)); in TEST_F()
676 __ ldrd(R2, Address(R0, 24, Address::Mode::PreIndex)); in TEST_F()
677 __ ldrd(R2, Address(R0, 24, Address::Mode::PostIndex)); in TEST_F()
678 __ ldrd(R2, Address(R0, 24, Address::Mode::NegOffset)); in TEST_F()
679 __ ldrd(R2, Address(R0, 24, Address::Mode::NegPreIndex)); in TEST_F()
680 __ ldrd(R2, Address(R0, 24, Address::Mode::NegPostIndex)); in TEST_F()
686 __ strd(R2, Address(R0, -24, Address::Mode::Offset)); in TEST_F()
687 __ strd(R2, Address(R0, -24, Address::Mode::PreIndex)); in TEST_F()
688 __ strd(R2, Address(R0, -24, Address::Mode::PostIndex)); in TEST_F()
689 __ strd(R2, Address(R0, -24, Address::Mode::NegOffset)); in TEST_F()
690 __ strd(R2, Address(R0, -24, Address::Mode::NegPreIndex)); in TEST_F()
691 __ strd(R2, Address(R0, -24, Address::Mode::NegPostIndex)); in TEST_F()
693 __ ldrd(R2, Address(R0, -24, Address::Mode::Offset)); in TEST_F()
694 __ ldrd(R2, Address(R0, -24, Address::Mode::PreIndex)); in TEST_F()
695 __ ldrd(R2, Address(R0, -24, Address::Mode::PostIndex)); in TEST_F()
696 __ ldrd(R2, Address(R0, -24, Address::Mode::NegOffset)); in TEST_F()
697 __ ldrd(R2, Address(R0, -24, Address::Mode::NegPreIndex)); in TEST_F()
698 __ ldrd(R2, Address(R0, -24, Address::Mode::NegPostIndex)); in TEST_F()
705 __ mov(R0, ShifterOperand(2)); in TEST_F()
706 __ Bind(&l1); in TEST_F()
707 __ mov(R1, ShifterOperand(1)); in TEST_F()
708 __ b(&l1); in TEST_F()
710 __ b(&l2); in TEST_F()
711 __ mov(R1, ShifterOperand(2)); in TEST_F()
712 __ Bind(&l2); in TEST_F()
713 __ mov(R0, ShifterOperand(3)); in TEST_F()
716 __ mov(R0, ShifterOperand(2)); in TEST_F()
717 __ Bind(&l3); in TEST_F()
718 __ mov(R1, ShifterOperand(1)); in TEST_F()
719 __ b(&l3, EQ); in TEST_F()
722 __ b(&l4, EQ); in TEST_F()
723 __ mov(R1, ShifterOperand(2)); in TEST_F()
724 __ Bind(&l4); in TEST_F()
725 __ mov(R0, ShifterOperand(3)); in TEST_F()
729 __ b(&l5); in TEST_F()
730 __ mov(R1, ShifterOperand(4)); in TEST_F()
731 __ b(&l5); in TEST_F()
732 __ mov(R1, ShifterOperand(5)); in TEST_F()
733 __ Bind(&l5); in TEST_F()
734 __ mov(R0, ShifterOperand(6)); in TEST_F()
740 __ Force32Bit(); in TEST_F()
743 __ mov(R0, ShifterOperand(2)); in TEST_F()
744 __ Bind(&l1); in TEST_F()
745 __ mov(R1, ShifterOperand(1)); in TEST_F()
746 __ b(&l1); in TEST_F()
749 __ b(&l2); in TEST_F()
750 __ mov(R1, ShifterOperand(2)); in TEST_F()
751 __ Bind(&l2); in TEST_F()
752 __ mov(R0, ShifterOperand(3)); in TEST_F()
755 __ mov(R0, ShifterOperand(2)); in TEST_F()
756 __ Bind(&l3); in TEST_F()
757 __ mov(R1, ShifterOperand(1)); in TEST_F()
758 __ b(&l3, EQ); in TEST_F()
761 __ b(&l4, EQ); in TEST_F()
762 __ mov(R1, ShifterOperand(2)); in TEST_F()
763 __ Bind(&l4); in TEST_F()
764 __ mov(R0, ShifterOperand(3)); in TEST_F()
768 __ b(&l5); in TEST_F()
769 __ mov(R1, ShifterOperand(4)); in TEST_F()
770 __ b(&l5); in TEST_F()
771 __ mov(R1, ShifterOperand(5)); in TEST_F()
772 __ Bind(&l5); in TEST_F()
773 __ mov(R0, ShifterOperand(6)); in TEST_F()
780 __ ldm(DB_W, R4, (1 << R0 | 1 << R3)); in TEST_F()
783 __ ldm(DB_W, R4, (1 << LR | 1 << R11)); in TEST_F()
784 __ ldm(DB, R4, (1 << LR | 1 << R11)); in TEST_F()
787 __ ldm(DB_W, R4, (1 << R5)); in TEST_F()
794 __ stm(IA_W, R4, (1 << R0 | 1 << R3)); in TEST_F()
797 __ stm(IA_W, R4, (1 << LR | 1 << R11)); in TEST_F()
798 __ stm(IA, R4, (1 << LR | 1 << R11)); in TEST_F()
801 __ stm(IA_W, R4, (1 << R5)); in TEST_F()
802 __ stm(IA, R4, (1 << R5)); in TEST_F()
809 __ movw(R4, 0); in TEST_F()
810 __ movw(R4, 0x34); in TEST_F()
811 __ movw(R9, 0x34); in TEST_F()
812 __ movw(R3, 0x1234); in TEST_F()
813 __ movw(R9, 0xffff); in TEST_F()
816 __ movt(R0, 0); in TEST_F()
817 __ movt(R0, 0x1234); in TEST_F()
818 __ movt(R1, 0xffff); in TEST_F()
824 __ add(R2, SP, ShifterOperand(0x50)); // 16 bit. in TEST_F()
825 __ add(SP, SP, ShifterOperand(0x50)); // 16 bit. in TEST_F()
826 __ add(R8, SP, ShifterOperand(0x50)); // 32 bit. in TEST_F()
828 __ add(R2, SP, ShifterOperand(0xf00)); // 32 bit due to imm size. in TEST_F()
829 __ add(SP, SP, ShifterOperand(0xf00)); // 32 bit due to imm size. in TEST_F()
830 __ add(SP, SP, ShifterOperand(0xffc)); // 32 bit due to imm size; encoding T4. in TEST_F()
832 __ sub(SP, SP, ShifterOperand(0x50)); // 16 bit in TEST_F()
833 __ sub(R0, SP, ShifterOperand(0x50)); // 32 bit in TEST_F()
834 __ sub(R8, SP, ShifterOperand(0x50)); // 32 bit. in TEST_F()
836 __ sub(SP, SP, ShifterOperand(0xf00)); // 32 bit due to imm size in TEST_F()
837 __ sub(SP, SP, ShifterOperand(0xffc)); // 32 bit due to imm size; encoding T4. in TEST_F()
843 __ LoadFromOffset(kLoadWord, R2, R4, 12); in TEST_F()
844 __ LoadFromOffset(kLoadWord, R2, R4, 0xfff); in TEST_F()
845 __ LoadFromOffset(kLoadWord, R2, R4, 0x1000); in TEST_F()
846 __ LoadFromOffset(kLoadWord, R2, R4, 0x1000a4); in TEST_F()
847 __ LoadFromOffset(kLoadWord, R2, R4, 0x101000); in TEST_F()
848 __ LoadFromOffset(kLoadWord, R4, R4, 0x101000); in TEST_F()
849 __ LoadFromOffset(kLoadUnsignedHalfword, R2, R4, 12); in TEST_F()
850 __ LoadFromOffset(kLoadUnsignedHalfword, R2, R4, 0xfff); in TEST_F()
851 __ LoadFromOffset(kLoadUnsignedHalfword, R2, R4, 0x1000); in TEST_F()
852 __ LoadFromOffset(kLoadUnsignedHalfword, R2, R4, 0x1000a4); in TEST_F()
853 __ LoadFromOffset(kLoadUnsignedHalfword, R2, R4, 0x101000); in TEST_F()
854 __ LoadFromOffset(kLoadUnsignedHalfword, R4, R4, 0x101000); in TEST_F()
855 __ LoadFromOffset(kLoadWordPair, R2, R4, 12); in TEST_F()
856 __ LoadFromOffset(kLoadWordPair, R2, R4, 0x3fc); in TEST_F()
857 __ LoadFromOffset(kLoadWordPair, R2, R4, 0x400); in TEST_F()
858 __ LoadFromOffset(kLoadWordPair, R2, R4, 0x400a4); in TEST_F()
859 __ LoadFromOffset(kLoadWordPair, R2, R4, 0x40400); in TEST_F()
860 __ LoadFromOffset(kLoadWordPair, R4, R4, 0x40400); in TEST_F()
862 __ LoadFromOffset(kLoadWord, R0, R12, 12); // 32-bit because of R12. in TEST_F()
863 __ LoadFromOffset(kLoadWord, R2, R4, 0xa4 - 0x100000); in TEST_F()
865 __ LoadFromOffset(kLoadSignedByte, R2, R4, 12); in TEST_F()
866 __ LoadFromOffset(kLoadUnsignedByte, R2, R4, 12); in TEST_F()
867 __ LoadFromOffset(kLoadSignedHalfword, R2, R4, 12); in TEST_F()
873 __ StoreToOffset(kStoreWord, R2, R4, 12); in TEST_F()
874 __ StoreToOffset(kStoreWord, R2, R4, 0xfff); in TEST_F()
875 __ StoreToOffset(kStoreWord, R2, R4, 0x1000); in TEST_F()
876 __ StoreToOffset(kStoreWord, R2, R4, 0x1000a4); in TEST_F()
877 __ StoreToOffset(kStoreWord, R2, R4, 0x101000); in TEST_F()
878 __ StoreToOffset(kStoreWord, R4, R4, 0x101000); in TEST_F()
879 __ StoreToOffset(kStoreHalfword, R2, R4, 12); in TEST_F()
880 __ StoreToOffset(kStoreHalfword, R2, R4, 0xfff); in TEST_F()
881 __ StoreToOffset(kStoreHalfword, R2, R4, 0x1000); in TEST_F()
882 __ StoreToOffset(kStoreHalfword, R2, R4, 0x1000a4); in TEST_F()
883 __ StoreToOffset(kStoreHalfword, R2, R4, 0x101000); in TEST_F()
884 __ StoreToOffset(kStoreHalfword, R4, R4, 0x101000); in TEST_F()
885 __ StoreToOffset(kStoreWordPair, R2, R4, 12); in TEST_F()
886 __ StoreToOffset(kStoreWordPair, R2, R4, 0x3fc); in TEST_F()
887 __ StoreToOffset(kStoreWordPair, R2, R4, 0x400); in TEST_F()
888 __ StoreToOffset(kStoreWordPair, R2, R4, 0x400a4); in TEST_F()
889 __ StoreToOffset(kStoreWordPair, R2, R4, 0x40400); in TEST_F()
890 __ StoreToOffset(kStoreWordPair, R4, R4, 0x40400); in TEST_F()
892 __ StoreToOffset(kStoreWord, R0, R12, 12); // 32-bit because of R12. in TEST_F()
893 __ StoreToOffset(kStoreWord, R2, R4, 0xa4 - 0x100000); in TEST_F()
895 __ StoreToOffset(kStoreByte, R2, R4, 12); in TEST_F()
901 __ it(EQ); in TEST_F()
902 __ mov(R1, ShifterOperand(1), EQ); in TEST_F()
904 __ it(EQ, kItThen); in TEST_F()
905 __ mov(R1, ShifterOperand(1), EQ); in TEST_F()
906 __ mov(R2, ShifterOperand(2), EQ); in TEST_F()
908 __ it(EQ, kItElse); in TEST_F()
909 __ mov(R1, ShifterOperand(1), EQ); in TEST_F()
910 __ mov(R2, ShifterOperand(2), NE); in TEST_F()
912 __ it(EQ, kItThen, kItElse); in TEST_F()
913 __ mov(R1, ShifterOperand(1), EQ); in TEST_F()
914 __ mov(R2, ShifterOperand(2), EQ); in TEST_F()
915 __ mov(R3, ShifterOperand(3), NE); in TEST_F()
917 __ it(EQ, kItElse, kItElse); in TEST_F()
918 __ mov(R1, ShifterOperand(1), EQ); in TEST_F()
919 __ mov(R2, ShifterOperand(2), NE); in TEST_F()
920 __ mov(R3, ShifterOperand(3), NE); in TEST_F()
922 __ it(EQ, kItThen, kItThen, kItElse); in TEST_F()
923 __ mov(R1, ShifterOperand(1), EQ); in TEST_F()
924 __ mov(R2, ShifterOperand(2), EQ); in TEST_F()
925 __ mov(R3, ShifterOperand(3), EQ); in TEST_F()
926 __ mov(R4, ShifterOperand(4), NE); in TEST_F()
933 __ cbz(R2, &l1); in TEST_F()
934 __ mov(R1, ShifterOperand(3)); in TEST_F()
935 __ mov(R2, ShifterOperand(3)); in TEST_F()
936 __ Bind(&l1); in TEST_F()
937 __ mov(R2, ShifterOperand(4)); in TEST_F()
940 __ cbnz(R2, &l2); in TEST_F()
941 __ mov(R8, ShifterOperand(3)); in TEST_F()
942 __ mov(R2, ShifterOperand(3)); in TEST_F()
943 __ Bind(&l2); in TEST_F()
944 __ mov(R2, ShifterOperand(4)); in TEST_F()
950 __ mul(R0, R1, R0); in TEST_F()
951 __ mul(R0, R1, R2); in TEST_F()
952 __ mul(R8, R9, R8); in TEST_F()
953 __ mul(R8, R9, R10); in TEST_F()
955 __ mla(R0, R1, R2, R3); in TEST_F()
956 __ mla(R8, R9, R8, R9); in TEST_F()
958 __ mls(R0, R1, R2, R3); in TEST_F()
959 __ mls(R8, R9, R8, R9); in TEST_F()
961 __ umull(R0, R1, R2, R3); in TEST_F()
962 __ umull(R8, R9, R10, R11); in TEST_F()
968 __ sdiv(R0, R1, R2); in TEST_F()
969 __ sdiv(R8, R9, R10); in TEST_F()
971 __ udiv(R0, R1, R2); in TEST_F()
972 __ udiv(R8, R9, R10); in TEST_F()
978 __ vmovs(S1, 1.0); in TEST_F()
979 __ vmovd(D1, 1.0); in TEST_F()
981 __ vmovs(S1, S2); in TEST_F()
982 __ vmovd(D1, D2); in TEST_F()
989 __ vadds(S0, S1, S2); in TEST_F()
990 __ vsubs(S0, S1, S2); in TEST_F()
991 __ vmuls(S0, S1, S2); in TEST_F()
992 __ vmlas(S0, S1, S2); in TEST_F()
993 __ vmlss(S0, S1, S2); in TEST_F()
994 __ vdivs(S0, S1, S2); in TEST_F()
995 __ vabss(S0, S1); in TEST_F()
996 __ vnegs(S0, S1); in TEST_F()
997 __ vsqrts(S0, S1); in TEST_F()
999 __ vaddd(D0, D1, D2); in TEST_F()
1000 __ vsubd(D0, D1, D2); in TEST_F()
1001 __ vmuld(D0, D1, D2); in TEST_F()
1002 __ vmlad(D0, D1, D2); in TEST_F()
1003 __ vmlsd(D0, D1, D2); in TEST_F()
1004 __ vdivd(D0, D1, D2); in TEST_F()
1005 __ vabsd(D0, D1); in TEST_F()
1006 __ vnegd(D0, D1); in TEST_F()
1007 __ vsqrtd(D0, D1); in TEST_F()
1013 __ vcvtsd(S2, D2); in TEST_F()
1014 __ vcvtds(D2, S2); in TEST_F()
1016 __ vcvtis(S1, S2); in TEST_F()
1017 __ vcvtsi(S1, S2); in TEST_F()
1019 __ vcvtid(S1, D2); in TEST_F()
1020 __ vcvtdi(D1, S2); in TEST_F()
1022 __ vcvtus(S1, S2); in TEST_F()
1023 __ vcvtsu(S1, S2); in TEST_F()
1025 __ vcvtud(S1, D2); in TEST_F()
1026 __ vcvtdu(D1, S2); in TEST_F()
1032 __ vcmps(S0, S1); in TEST_F()
1033 __ vcmpd(D0, D1); in TEST_F()
1035 __ vcmpsz(S2); in TEST_F()
1036 __ vcmpdz(D2); in TEST_F()
1042 __ blx(LR); in TEST_F()
1043 __ bx(LR); in TEST_F()
1049 __ bkpt(0); in TEST_F()
1055 __ str(R1, Address(SP, 68)); in TEST_F()
1056 __ str(R1, Address(SP, 1068)); in TEST_F()
1062 __ vpushs(S2, 4); in TEST_F()
1063 __ vpushd(D2, 4); in TEST_F()
1065 __ vpops(S2, 4); in TEST_F()
1066 __ vpopd(D2, 4); in TEST_F()
1073 __ b(&l1); in TEST_F()
1075 __ mov(R3, ShifterOperand(i & 0xff)); in TEST_F()
1077 __ Bind(&l1); in TEST_F()
1078 __ mov(R1, ShifterOperand(R2)); in TEST_F()
1085 __ b(&l1); in TEST_F()
1087 __ mov(R3, ShifterOperand(i & 0xff)); in TEST_F()
1089 __ Bind(&l1); in TEST_F()
1090 __ mov(R1, ShifterOperand(R2)); in TEST_F()
1097 __ cbz(R4, &l1); in TEST_F()
1099 __ mov(R3, ShifterOperand(i & 0xff)); in TEST_F()
1101 __ Bind(&l1); in TEST_F()
1102 __ mov(R1, ShifterOperand(R2)); in TEST_F()
1109 __ cbz(R4, &l1); in TEST_F()
1111 __ mov(R3, ShifterOperand(i & 0xff)); in TEST_F()
1113 __ Bind(&l1); in TEST_F()
1114 __ mov(R1, ShifterOperand(R2)); in TEST_F()
1121 __ cbz(R4, &l1); in TEST_F()
1123 __ mov(R3, ShifterOperand(i & 0xff)); in TEST_F()
1125 __ Bind(&l1); in TEST_F()
1126 __ mov(R1, ShifterOperand(R2)); in TEST_F()
1134 __ b(&l1); // Forwards. in TEST_F()
1135 __ Bind(&l2); in TEST_F()
1139 __ mov(R3, ShifterOperand(i & 0xff)); in TEST_F()
1141 __ b(&l2); // Backwards. in TEST_F()
1142 __ Bind(&l1); in TEST_F()
1143 __ mov(R1, ShifterOperand(R2)); in TEST_F()
1150 __ Lsl(R0, R1, 5); in TEST_F()
1151 __ Lsr(R0, R1, 5); in TEST_F()
1152 __ Asr(R0, R1, 5); in TEST_F()
1154 __ Lsl(R0, R0, R1); in TEST_F()
1155 __ Lsr(R0, R0, R1); in TEST_F()
1156 __ Asr(R0, R0, R1); in TEST_F()
1157 __ Ror(R0, R0, R1); in TEST_F()
1160 __ Lsls(R0, R1, 5); in TEST_F()
1161 __ Lsrs(R0, R1, 5); in TEST_F()
1162 __ Asrs(R0, R1, 5); in TEST_F()
1164 __ Lsls(R0, R0, R1); in TEST_F()
1165 __ Lsrs(R0, R0, R1); in TEST_F()
1166 __ Asrs(R0, R0, R1); in TEST_F()
1167 __ Rors(R0, R0, R1); in TEST_F()
1170 __ Lsl(R0, R1, 5, AL, kCcKeep); in TEST_F()
1171 __ Lsr(R0, R1, 5, AL, kCcKeep); in TEST_F()
1172 __ Asr(R0, R1, 5, AL, kCcKeep); in TEST_F()
1174 __ Lsl(R0, R0, R1, AL, kCcKeep); in TEST_F()
1175 __ Lsr(R0, R0, R1, AL, kCcKeep); in TEST_F()
1176 __ Asr(R0, R0, R1, AL, kCcKeep); in TEST_F()
1177 __ Ror(R0, R0, R1, AL, kCcKeep); in TEST_F()
1180 __ Ror(R0, R1, 5); in TEST_F()
1181 __ Rors(R0, R1, 5); in TEST_F()
1182 __ Ror(R0, R1, 5, AL, kCcKeep); in TEST_F()
1185 __ Lsl(R8, R1, 5); in TEST_F()
1186 __ Lsr(R0, R8, 5); in TEST_F()
1187 __ Asr(R8, R1, 5); in TEST_F()
1188 __ Ror(R0, R8, 5); in TEST_F()
1191 __ Lsl(R0, R1, R2); in TEST_F()
1192 __ Lsr(R0, R1, R2); in TEST_F()
1193 __ Asr(R0, R1, R2); in TEST_F()
1194 __ Ror(R0, R1, R2); in TEST_F()
1197 __ Lsl(R8, R1, R2); in TEST_F()
1198 __ Lsr(R0, R8, R2); in TEST_F()
1199 __ Asr(R0, R1, R8); in TEST_F()
1204 __ Lsls(R8, R1, 5); in TEST_F()
1205 __ Lsrs(R0, R8, 5); in TEST_F()
1206 __ Asrs(R8, R1, 5); in TEST_F()
1207 __ Rors(R0, R8, 5); in TEST_F()
1210 __ Lsls(R0, R1, R2); in TEST_F()
1211 __ Lsrs(R0, R1, R2); in TEST_F()
1212 __ Asrs(R0, R1, R2); in TEST_F()
1213 __ Rors(R0, R1, R2); in TEST_F()
1216 __ Lsls(R8, R1, R2); in TEST_F()
1217 __ Lsrs(R0, R8, R2); in TEST_F()
1218 __ Asrs(R0, R1, R8); in TEST_F()
1225 __ ldr(R0, Address(R1, R2)); in TEST_F()
1226 __ str(R0, Address(R1, R2)); in TEST_F()
1229 __ ldr(R0, Address(R1, R2, LSL, 1)); in TEST_F()
1230 __ str(R0, Address(R1, R2, LSL, 1)); in TEST_F()
1232 __ ldr(R0, Address(R1, R2, LSL, 3)); in TEST_F()
1233 __ str(R0, Address(R1, R2, LSL, 3)); in TEST_F()
1236 __ ldr(R8, Address(R1, R2)); in TEST_F()
1237 __ str(R8, Address(R1, R2)); in TEST_F()
1239 __ ldr(R1, Address(R8, R2)); in TEST_F()
1240 __ str(R2, Address(R8, R2)); in TEST_F()
1242 __ ldr(R0, Address(R1, R8)); in TEST_F()
1243 __ str(R0, Address(R1, R8)); in TEST_F()
1249 __ ldr(R0, Address(R4, 124)); // 16 bit. in TEST_F()
1250 __ ldr(R0, Address(R4, 128)); // 32 bit. in TEST_F()
1252 __ ldrb(R0, Address(R4, 31)); // 16 bit. in TEST_F()
1253 __ ldrb(R0, Address(R4, 32)); // 32 bit. in TEST_F()
1255 __ ldrh(R0, Address(R4, 62)); // 16 bit. in TEST_F()
1256 __ ldrh(R0, Address(R4, 64)); // 32 bit. in TEST_F()
1258 __ ldrsb(R0, Address(R4, 31)); // 32 bit. in TEST_F()
1259 __ ldrsb(R0, Address(R4, 32)); // 32 bit. in TEST_F()
1261 __ ldrsh(R0, Address(R4, 62)); // 32 bit. in TEST_F()
1262 __ ldrsh(R0, Address(R4, 64)); // 32 bit. in TEST_F()
1264 __ str(R0, Address(R4, 124)); // 16 bit. in TEST_F()
1265 __ str(R0, Address(R4, 128)); // 32 bit. in TEST_F()
1267 __ strb(R0, Address(R4, 31)); // 16 bit. in TEST_F()
1268 __ strb(R0, Address(R4, 32)); // 32 bit. in TEST_F()
1270 __ strh(R0, Address(R4, 62)); // 16 bit. in TEST_F()
1271 __ strh(R0, Address(R4, 64)); // 32 bit. in TEST_F()
1278 __ CompareAndBranchIfZero(arm::R0, &label); in TEST_F()
1279 __ CompareAndBranchIfZero(arm::R11, &label); in TEST_F()
1280 __ CompareAndBranchIfNonZero(arm::R0, &label); in TEST_F()
1281 __ CompareAndBranchIfNonZero(arm::R11, &label); in TEST_F()
1282 __ Bind(&label); in TEST_F()
1289 __ AddConstant(R0, R1, 0); // MOV. in TEST_F()
1290 __ AddConstant(R0, R1, 1); // 16-bit ADDS, encoding T1. in TEST_F()
1291 __ AddConstant(R0, R1, 7); // 16-bit ADDS, encoding T1. in TEST_F()
1292 __ AddConstant(R0, R1, 8); // 32-bit ADD, encoding T3. in TEST_F()
1293 __ AddConstant(R0, R1, 255); // 32-bit ADD, encoding T3. in TEST_F()
1294 __ AddConstant(R0, R1, 256); // 32-bit ADD, encoding T3. in TEST_F()
1295 __ AddConstant(R0, R1, 257); // 32-bit ADD, encoding T4. in TEST_F()
1296 __ AddConstant(R0, R1, 0xfff); // 32-bit ADD, encoding T4. in TEST_F()
1297 __ AddConstant(R0, R1, 0x1000); // 32-bit ADD, encoding T3. in TEST_F()
1298 __ AddConstant(R0, R1, 0x1001); // MVN+SUB. in TEST_F()
1299 __ AddConstant(R0, R1, 0x1002); // MOVW+ADD. in TEST_F()
1300 __ AddConstant(R0, R1, 0xffff); // MOVW+ADD. in TEST_F()
1301 __ AddConstant(R0, R1, 0x10000); // 32-bit ADD, encoding T3. in TEST_F()
1302 __ AddConstant(R0, R1, 0x10001); // 32-bit ADD, encoding T3. in TEST_F()
1303 __ AddConstant(R0, R1, 0x10002); // MVN+SUB. in TEST_F()
1304 __ AddConstant(R0, R1, 0x10003); // MOVW+MOVT+ADD. in TEST_F()
1305 __ AddConstant(R0, R1, -1); // 16-bit SUBS. in TEST_F()
1306 __ AddConstant(R0, R1, -7); // 16-bit SUBS. in TEST_F()
1307 __ AddConstant(R0, R1, -8); // 32-bit SUB, encoding T3. in TEST_F()
1308 __ AddConstant(R0, R1, -255); // 32-bit SUB, encoding T3. in TEST_F()
1309 __ AddConstant(R0, R1, -256); // 32-bit SUB, encoding T3. in TEST_F()
1310 __ AddConstant(R0, R1, -257); // 32-bit SUB, encoding T4. in TEST_F()
1311 __ AddConstant(R0, R1, -0xfff); // 32-bit SUB, encoding T4. in TEST_F()
1312 __ AddConstant(R0, R1, -0x1000); // 32-bit SUB, encoding T3. in TEST_F()
1313 __ AddConstant(R0, R1, -0x1001); // MVN+ADD. in TEST_F()
1314 __ AddConstant(R0, R1, -0x1002); // MOVW+SUB. in TEST_F()
1315 __ AddConstant(R0, R1, -0xffff); // MOVW+SUB. in TEST_F()
1316 __ AddConstant(R0, R1, -0x10000); // 32-bit SUB, encoding T3. in TEST_F()
1317 __ AddConstant(R0, R1, -0x10001); // 32-bit SUB, encoding T3. in TEST_F()
1318 __ AddConstant(R0, R1, -0x10002); // MVN+ADD. in TEST_F()
1319 __ AddConstant(R0, R1, -0x10003); // MOVW+MOVT+ADD. in TEST_F()
1322 __ AddConstant(R0, R0, 0); // Nothing. in TEST_F()
1323 __ AddConstant(R1, R1, 1); // 16-bit ADDS, encoding T2, in TEST_F()
1324 __ AddConstant(R0, R0, 7); // 16-bit ADDS, encoding T2. in TEST_F()
1325 __ AddConstant(R1, R1, 8); // 16-bit ADDS, encoding T2. in TEST_F()
1326 __ AddConstant(R0, R0, 255); // 16-bit ADDS, encoding T2. in TEST_F()
1327 __ AddConstant(R1, R1, 256); // 32-bit ADD, encoding T3. in TEST_F()
1328 __ AddConstant(R0, R0, 257); // 32-bit ADD, encoding T4. in TEST_F()
1329 __ AddConstant(R1, R1, 0xfff); // 32-bit ADD, encoding T4. in TEST_F()
1330 __ AddConstant(R0, R0, 0x1000); // 32-bit ADD, encoding T3. in TEST_F()
1331 __ AddConstant(R1, R1, 0x1001); // MVN+SUB. in TEST_F()
1332 __ AddConstant(R0, R0, 0x1002); // MOVW+ADD. in TEST_F()
1333 __ AddConstant(R1, R1, 0xffff); // MOVW+ADD. in TEST_F()
1334 __ AddConstant(R0, R0, 0x10000); // 32-bit ADD, encoding T3. in TEST_F()
1335 __ AddConstant(R1, R1, 0x10001); // 32-bit ADD, encoding T3. in TEST_F()
1336 __ AddConstant(R0, R0, 0x10002); // MVN+SUB. in TEST_F()
1337 __ AddConstant(R1, R1, 0x10003); // MOVW+MOVT+ADD. in TEST_F()
1338 __ AddConstant(R0, R0, -1); // 16-bit SUBS, encoding T2. in TEST_F()
1339 __ AddConstant(R1, R1, -7); // 16-bit SUBS, encoding T2. in TEST_F()
1340 __ AddConstant(R0, R0, -8); // 16-bit SUBS, encoding T2. in TEST_F()
1341 __ AddConstant(R1, R1, -255); // 16-bit SUBS, encoding T2. in TEST_F()
1342 __ AddConstant(R0, R0, -256); // 32-bit SUB, encoding T3. in TEST_F()
1343 __ AddConstant(R1, R1, -257); // 32-bit SUB, encoding T4. in TEST_F()
1344 __ AddConstant(R0, R0, -0xfff); // 32-bit SUB, encoding T4. in TEST_F()
1345 __ AddConstant(R1, R1, -0x1000); // 32-bit SUB, encoding T3. in TEST_F()
1346 __ AddConstant(R0, R0, -0x1001); // MVN+ADD. in TEST_F()
1347 __ AddConstant(R1, R1, -0x1002); // MOVW+SUB. in TEST_F()
1348 __ AddConstant(R0, R0, -0xffff); // MOVW+SUB. in TEST_F()
1349 __ AddConstant(R1, R1, -0x10000); // 32-bit SUB, encoding T3. in TEST_F()
1350 __ AddConstant(R0, R0, -0x10001); // 32-bit SUB, encoding T3. in TEST_F()
1351 __ AddConstant(R1, R1, -0x10002); // MVN+ADD. in TEST_F()
1352 __ AddConstant(R0, R0, -0x10003); // MOVW+MOVT+ADD. in TEST_F()
1355 __ AddConstant(R8, R8, 0); // Nothing. in TEST_F()
1356 __ AddConstant(R8, R1, 1); // 32-bit ADD, encoding T3, in TEST_F()
1357 __ AddConstant(R0, R8, 7); // 32-bit ADD, encoding T3. in TEST_F()
1358 __ AddConstant(R8, R8, 8); // 32-bit ADD, encoding T3. in TEST_F()
1359 __ AddConstant(R8, R1, 255); // 32-bit ADD, encoding T3. in TEST_F()
1360 __ AddConstant(R0, R8, 256); // 32-bit ADD, encoding T3. in TEST_F()
1361 __ AddConstant(R8, R8, 257); // 32-bit ADD, encoding T4. in TEST_F()
1362 __ AddConstant(R8, R1, 0xfff); // 32-bit ADD, encoding T4. in TEST_F()
1363 __ AddConstant(R0, R8, 0x1000); // 32-bit ADD, encoding T3. in TEST_F()
1364 __ AddConstant(R8, R8, 0x1001); // MVN+SUB. in TEST_F()
1365 __ AddConstant(R0, R1, 0x1002); // MOVW+ADD. in TEST_F()
1366 __ AddConstant(R0, R8, 0xffff); // MOVW+ADD. in TEST_F()
1367 __ AddConstant(R8, R8, 0x10000); // 32-bit ADD, encoding T3. in TEST_F()
1368 __ AddConstant(R8, R1, 0x10001); // 32-bit ADD, encoding T3. in TEST_F()
1369 __ AddConstant(R0, R8, 0x10002); // MVN+SUB. in TEST_F()
1370 __ AddConstant(R0, R8, 0x10003); // MOVW+MOVT+ADD. in TEST_F()
1371 __ AddConstant(R8, R8, -1); // 32-bit ADD, encoding T3. in TEST_F()
1372 __ AddConstant(R8, R1, -7); // 32-bit SUB, encoding T3. in TEST_F()
1373 __ AddConstant(R0, R8, -8); // 32-bit SUB, encoding T3. in TEST_F()
1374 __ AddConstant(R8, R8, -255); // 32-bit SUB, encoding T3. in TEST_F()
1375 __ AddConstant(R8, R1, -256); // 32-bit SUB, encoding T3. in TEST_F()
1376 __ AddConstant(R0, R8, -257); // 32-bit SUB, encoding T4. in TEST_F()
1377 __ AddConstant(R8, R8, -0xfff); // 32-bit SUB, encoding T4. in TEST_F()
1378 __ AddConstant(R8, R1, -0x1000); // 32-bit SUB, encoding T3. in TEST_F()
1379 __ AddConstant(R0, R8, -0x1001); // MVN+ADD. in TEST_F()
1380 __ AddConstant(R0, R1, -0x1002); // MOVW+SUB. in TEST_F()
1381 __ AddConstant(R8, R1, -0xffff); // MOVW+SUB. in TEST_F()
1382 __ AddConstant(R0, R8, -0x10000); // 32-bit SUB, encoding T3. in TEST_F()
1383 __ AddConstant(R8, R8, -0x10001); // 32-bit SUB, encoding T3. in TEST_F()
1384 __ AddConstant(R8, R1, -0x10002); // MVN+SUB. in TEST_F()
1385 __ AddConstant(R0, R8, -0x10003); // MOVW+MOVT+ADD. in TEST_F()
1388 __ AddConstant(R0, R1, 0, AL, kCcKeep); // MOV. in TEST_F()
1389 __ AddConstant(R0, R1, 1, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1390 __ AddConstant(R0, R1, 7, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1391 __ AddConstant(R0, R1, 8, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1392 __ AddConstant(R0, R1, 255, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1393 __ AddConstant(R0, R1, 256, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1394 __ AddConstant(R0, R1, 257, AL, kCcKeep); // 32-bit ADD, encoding T4. in TEST_F()
1395 __ AddConstant(R0, R1, 0xfff, AL, kCcKeep); // 32-bit ADD, encoding T4. in TEST_F()
1396 __ AddConstant(R0, R1, 0x1000, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1397 __ AddConstant(R0, R1, 0x1001, AL, kCcKeep); // MVN+SUB. in TEST_F()
1398 __ AddConstant(R0, R1, 0x1002, AL, kCcKeep); // MOVW+ADD. in TEST_F()
1399 __ AddConstant(R0, R1, 0xffff, AL, kCcKeep); // MOVW+ADD. in TEST_F()
1400 __ AddConstant(R0, R1, 0x10000, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1401 __ AddConstant(R0, R1, 0x10001, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1402 __ AddConstant(R0, R1, 0x10002, AL, kCcKeep); // MVN+SUB. in TEST_F()
1403 __ AddConstant(R0, R1, 0x10003, AL, kCcKeep); // MOVW+MOVT+ADD. in TEST_F()
1404 __ AddConstant(R0, R1, -1, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1405 __ AddConstant(R0, R1, -7, AL, kCcKeep); // 32-bit SUB, encoding T3. in TEST_F()
1406 __ AddConstant(R0, R1, -8, AL, kCcKeep); // 32-bit SUB, encoding T3. in TEST_F()
1407 __ AddConstant(R0, R1, -255, AL, kCcKeep); // 32-bit SUB, encoding T3. in TEST_F()
1408 __ AddConstant(R0, R1, -256, AL, kCcKeep); // 32-bit SUB, encoding T3. in TEST_F()
1409 __ AddConstant(R0, R1, -257, AL, kCcKeep); // 32-bit SUB, encoding T4. in TEST_F()
1410 __ AddConstant(R0, R1, -0xfff, AL, kCcKeep); // 32-bit SUB, encoding T4. in TEST_F()
1411 __ AddConstant(R0, R1, -0x1000, AL, kCcKeep); // 32-bit SUB, encoding T3. in TEST_F()
1412 __ AddConstant(R0, R1, -0x1001, AL, kCcKeep); // MVN+ADD. in TEST_F()
1413 __ AddConstant(R0, R1, -0x1002, AL, kCcKeep); // MOVW+SUB. in TEST_F()
1414 __ AddConstant(R0, R1, -0xffff, AL, kCcKeep); // MOVW+SUB. in TEST_F()
1415 __ AddConstant(R0, R1, -0x10000, AL, kCcKeep); // 32-bit SUB, encoding T3. in TEST_F()
1416 __ AddConstant(R0, R1, -0x10001, AL, kCcKeep); // 32-bit SUB, encoding T3. in TEST_F()
1417 __ AddConstant(R0, R1, -0x10002, AL, kCcKeep); // MVN+ADD. in TEST_F()
1418 __ AddConstant(R0, R1, -0x10003, AL, kCcKeep); // MOVW+MOVT+ADD. in TEST_F()
1421 __ AddConstant(R0, R0, 0, AL, kCcKeep); // Nothing. in TEST_F()
1422 __ AddConstant(R1, R1, 1, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1423 __ AddConstant(R0, R0, 7, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1424 __ AddConstant(R1, R1, 8, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1425 __ AddConstant(R0, R0, 255, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1426 __ AddConstant(R1, R1, 256, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1427 __ AddConstant(R0, R0, 257, AL, kCcKeep); // 32-bit ADD, encoding T4. in TEST_F()
1428 __ AddConstant(R1, R1, 0xfff, AL, kCcKeep); // 32-bit ADD, encoding T4. in TEST_F()
1429 __ AddConstant(R0, R0, 0x1000, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1430 __ AddConstant(R1, R1, 0x1001, AL, kCcKeep); // MVN+SUB. in TEST_F()
1431 __ AddConstant(R0, R0, 0x1002, AL, kCcKeep); // MOVW+ADD. in TEST_F()
1432 __ AddConstant(R1, R1, 0xffff, AL, kCcKeep); // MOVW+ADD. in TEST_F()
1433 __ AddConstant(R0, R0, 0x10000, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1434 __ AddConstant(R1, R1, 0x10001, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1435 __ AddConstant(R0, R0, 0x10002, AL, kCcKeep); // MVN+SUB. in TEST_F()
1436 __ AddConstant(R1, R1, 0x10003, AL, kCcKeep); // MOVW+MOVT+ADD. in TEST_F()
1437 __ AddConstant(R0, R0, -1, AL, kCcKeep); // 32-bit ADD, encoding T3. in TEST_F()
1438 __ AddConstant(R1, R1, -7, AL, kCcKeep); // 32-bit SUB, encoding T3. in TEST_F()
1439 __ AddConstant(R0, R0, -8, AL, kCcKeep); // 32-bit SUB, encoding T3. in TEST_F()
1440 __ AddConstant(R1, R1, -255, AL, kCcKeep); // 32-bit SUB, encoding T3. in TEST_F()
1441 __ AddConstant(R0, R0, -256, AL, kCcKeep); // 32-bit SUB, encoding T3. in TEST_F()
1442 __ AddConstant(R1, R1, -257, AL, kCcKeep); // 32-bit SUB, encoding T4. in TEST_F()
1443 __ AddConstant(R0, R0, -0xfff, AL, kCcKeep); // 32-bit SUB, encoding T4. in TEST_F()
1444 __ AddConstant(R1, R1, -0x1000, AL, kCcKeep); // 32-bit SUB, encoding T3. in TEST_F()
1445 __ AddConstant(R0, R0, -0x1001, AL, kCcKeep); // MVN+ADD. in TEST_F()
1446 __ AddConstant(R1, R1, -0x1002, AL, kCcKeep); // MOVW+SUB. in TEST_F()
1447 __ AddConstant(R0, R0, -0xffff, AL, kCcKeep); // MOVW+SUB. in TEST_F()
1448 __ AddConstant(R1, R1, -0x10000, AL, kCcKeep); // 32-bit SUB, encoding T3. in TEST_F()
1449 __ AddConstant(R0, R0, -0x10001, AL, kCcKeep); // 32-bit SUB, encoding T3. in TEST_F()
1450 __ AddConstant(R1, R1, -0x10002, AL, kCcKeep); // MVN+ADD. in TEST_F()
1451 __ AddConstant(R0, R0, -0x10003, AL, kCcKeep); // MOVW+MOVT+ADD. in TEST_F()
1454 __ AddConstant(R0, R1, 0, AL, kCcSet); // 16-bit ADDS. in TEST_F()
1455 __ AddConstant(R0, R1, 1, AL, kCcSet); // 16-bit ADDS. in TEST_F()
1456 __ AddConstant(R0, R1, 7, AL, kCcSet); // 16-bit ADDS. in TEST_F()
1457 __ AddConstant(R0, R1, 8, AL, kCcSet); // 32-bit ADDS, encoding T3. in TEST_F()
1458 __ AddConstant(R0, R1, 255, AL, kCcSet); // 32-bit ADDS, encoding T3. in TEST_F()
1459 __ AddConstant(R0, R1, 256, AL, kCcSet); // 32-bit ADDS, encoding T3. in TEST_F()
1460 __ AddConstant(R0, R1, 257, AL, kCcSet); // MVN+SUBS. in TEST_F()
1461 __ AddConstant(R0, R1, 0xfff, AL, kCcSet); // MOVW+ADDS. in TEST_F()
1462 __ AddConstant(R0, R1, 0x1000, AL, kCcSet); // 32-bit ADDS, encoding T3. in TEST_F()
1463 __ AddConstant(R0, R1, 0x1001, AL, kCcSet); // MVN+SUBS. in TEST_F()
1464 __ AddConstant(R0, R1, 0x1002, AL, kCcSet); // MOVW+ADDS. in TEST_F()
1465 __ AddConstant(R0, R1, 0xffff, AL, kCcSet); // MOVW+ADDS. in TEST_F()
1466 __ AddConstant(R0, R1, 0x10000, AL, kCcSet); // 32-bit ADDS, encoding T3. in TEST_F()
1467 __ AddConstant(R0, R1, 0x10001, AL, kCcSet); // 32-bit ADDS, encoding T3. in TEST_F()
1468 __ AddConstant(R0, R1, 0x10002, AL, kCcSet); // MVN+SUBS. in TEST_F()
1469 __ AddConstant(R0, R1, 0x10003, AL, kCcSet); // MOVW+MOVT+ADDS. in TEST_F()
1470 __ AddConstant(R0, R1, -1, AL, kCcSet); // 16-bit SUBS. in TEST_F()
1471 __ AddConstant(R0, R1, -7, AL, kCcSet); // 16-bit SUBS. in TEST_F()
1472 __ AddConstant(R0, R1, -8, AL, kCcSet); // 32-bit SUBS, encoding T3. in TEST_F()
1473 __ AddConstant(R0, R1, -255, AL, kCcSet); // 32-bit SUBS, encoding T3. in TEST_F()
1474 __ AddConstant(R0, R1, -256, AL, kCcSet); // 32-bit SUBS, encoding T3. in TEST_F()
1475 __ AddConstant(R0, R1, -257, AL, kCcSet); // MVN+ADDS. in TEST_F()
1476 __ AddConstant(R0, R1, -0xfff, AL, kCcSet); // MOVW+SUBS. in TEST_F()
1477 __ AddConstant(R0, R1, -0x1000, AL, kCcSet); // 32-bit SUBS, encoding T3. in TEST_F()
1478 __ AddConstant(R0, R1, -0x1001, AL, kCcSet); // MVN+ADDS. in TEST_F()
1479 __ AddConstant(R0, R1, -0x1002, AL, kCcSet); // MOVW+SUBS. in TEST_F()
1480 __ AddConstant(R0, R1, -0xffff, AL, kCcSet); // MOVW+SUBS. in TEST_F()
1481 __ AddConstant(R0, R1, -0x10000, AL, kCcSet); // 32-bit SUBS, encoding T3. in TEST_F()
1482 __ AddConstant(R0, R1, -0x10001, AL, kCcSet); // 32-bit SUBS, encoding T3. in TEST_F()
1483 __ AddConstant(R0, R1, -0x10002, AL, kCcSet); // MVN+ADDS. in TEST_F()
1484 __ AddConstant(R0, R1, -0x10003, AL, kCcSet); // MOVW+MOVT+ADDS. in TEST_F()
1487 __ AddConstant(R0, R0, 0, AL, kCcSet); // 16-bit ADDS, encoding T2. in TEST_F()
1488 __ AddConstant(R1, R1, 1, AL, kCcSet); // 16-bit ADDS, encoding T2. in TEST_F()
1489 __ AddConstant(R0, R0, 7, AL, kCcSet); // 16-bit ADDS, encoding T2. in TEST_F()
1490 __ AddConstant(R1, R1, 8, AL, kCcSet); // 16-bit ADDS, encoding T2. in TEST_F()
1491 __ AddConstant(R0, R0, 255, AL, kCcSet); // 16-bit ADDS, encoding T2. in TEST_F()
1492 __ AddConstant(R1, R1, 256, AL, kCcSet); // 32-bit ADDS, encoding T3. in TEST_F()
1493 __ AddConstant(R0, R0, 257, AL, kCcSet); // MVN+SUBS. in TEST_F()
1494 __ AddConstant(R1, R1, 0xfff, AL, kCcSet); // MOVW+ADDS. in TEST_F()
1495 __ AddConstant(R0, R0, 0x1000, AL, kCcSet); // 32-bit ADDS, encoding T3. in TEST_F()
1496 __ AddConstant(R1, R1, 0x1001, AL, kCcSet); // MVN+SUBS. in TEST_F()
1497 __ AddConstant(R0, R0, 0x1002, AL, kCcSet); // MOVW+ADDS. in TEST_F()
1498 __ AddConstant(R1, R1, 0xffff, AL, kCcSet); // MOVW+ADDS. in TEST_F()
1499 __ AddConstant(R0, R0, 0x10000, AL, kCcSet); // 32-bit ADDS, encoding T3. in TEST_F()
1500 __ AddConstant(R1, R1, 0x10001, AL, kCcSet); // 32-bit ADDS, encoding T3. in TEST_F()
1501 __ AddConstant(R0, R0, 0x10002, AL, kCcSet); // MVN+SUBS. in TEST_F()
1502 __ AddConstant(R1, R1, 0x10003, AL, kCcSet); // MOVW+MOVT+ADDS. in TEST_F()
1503 __ AddConstant(R0, R0, -1, AL, kCcSet); // 16-bit SUBS, encoding T2. in TEST_F()
1504 __ AddConstant(R1, R1, -7, AL, kCcSet); // 16-bit SUBS, encoding T2. in TEST_F()
1505 __ AddConstant(R0, R0, -8, AL, kCcSet); // 16-bit SUBS, encoding T2. in TEST_F()
1506 __ AddConstant(R1, R1, -255, AL, kCcSet); // 16-bit SUBS, encoding T2. in TEST_F()
1507 __ AddConstant(R0, R0, -256, AL, kCcSet); // 32-bit SUB, encoding T3. in TEST_F()
1508 __ AddConstant(R1, R1, -257, AL, kCcSet); // MNV+ADDS. in TEST_F()
1509 __ AddConstant(R0, R0, -0xfff, AL, kCcSet); // MOVW+SUBS. in TEST_F()
1510 __ AddConstant(R1, R1, -0x1000, AL, kCcSet); // 32-bit SUB, encoding T3. in TEST_F()
1511 __ AddConstant(R0, R0, -0x1001, AL, kCcSet); // MVN+ADDS. in TEST_F()
1512 __ AddConstant(R1, R1, -0x1002, AL, kCcSet); // MOVW+SUBS. in TEST_F()
1513 __ AddConstant(R0, R0, -0xffff, AL, kCcSet); // MOVW+SUBS. in TEST_F()
1514 __ AddConstant(R1, R1, -0x10000, AL, kCcSet); // 32-bit SUBS, encoding T3. in TEST_F()
1515 __ AddConstant(R0, R0, -0x10001, AL, kCcSet); // 32-bit SUBS, encoding T3. in TEST_F()
1516 __ AddConstant(R1, R1, -0x10002, AL, kCcSet); // MVN+ADDS. in TEST_F()
1517 __ AddConstant(R0, R0, -0x10003, AL, kCcSet); // MOVW+MOVT+ADDS. in TEST_F()
1519 __ it(EQ); in TEST_F()
1520 __ AddConstant(R0, R1, 1, EQ, kCcSet); // 32-bit ADDS, encoding T3. in TEST_F()
1521 __ it(NE); in TEST_F()
1522 __ AddConstant(R0, R1, 1, NE, kCcKeep); // 16-bit ADDS, encoding T1. in TEST_F()
1523 __ it(GE); in TEST_F()
1524 __ AddConstant(R0, R0, 1, GE, kCcSet); // 32-bit ADDS, encoding T3. in TEST_F()
1525 __ it(LE); in TEST_F()
1526 __ AddConstant(R0, R0, 1, LE, kCcKeep); // 16-bit ADDS, encoding T2. in TEST_F()
1532 __ CmpConstant(R0, 0); // 16-bit CMP. in TEST_F()
1533 __ CmpConstant(R1, 1); // 16-bit CMP. in TEST_F()
1534 __ CmpConstant(R0, 7); // 16-bit CMP. in TEST_F()
1535 __ CmpConstant(R1, 8); // 16-bit CMP. in TEST_F()
1536 __ CmpConstant(R0, 255); // 16-bit CMP. in TEST_F()
1537 __ CmpConstant(R1, 256); // 32-bit CMP. in TEST_F()
1538 __ CmpConstant(R0, 257); // MNV+CMN. in TEST_F()
1539 __ CmpConstant(R1, 0xfff); // MOVW+CMP. in TEST_F()
1540 __ CmpConstant(R0, 0x1000); // 32-bit CMP. in TEST_F()
1541 __ CmpConstant(R1, 0x1001); // MNV+CMN. in TEST_F()
1542 __ CmpConstant(R0, 0x1002); // MOVW+CMP. in TEST_F()
1543 __ CmpConstant(R1, 0xffff); // MOVW+CMP. in TEST_F()
1544 __ CmpConstant(R0, 0x10000); // 32-bit CMP. in TEST_F()
1545 __ CmpConstant(R1, 0x10001); // 32-bit CMP. in TEST_F()
1546 __ CmpConstant(R0, 0x10002); // MVN+CMN. in TEST_F()
1547 __ CmpConstant(R1, 0x10003); // MOVW+MOVT+CMP. in TEST_F()
1548 __ CmpConstant(R0, -1); // 32-bit CMP. in TEST_F()
1549 __ CmpConstant(R1, -7); // CMN. in TEST_F()
1550 __ CmpConstant(R0, -8); // CMN. in TEST_F()
1551 __ CmpConstant(R1, -255); // CMN. in TEST_F()
1552 __ CmpConstant(R0, -256); // CMN. in TEST_F()
1553 __ CmpConstant(R1, -257); // MNV+CMP. in TEST_F()
1554 __ CmpConstant(R0, -0xfff); // MOVW+CMN. in TEST_F()
1555 __ CmpConstant(R1, -0x1000); // CMN. in TEST_F()
1556 __ CmpConstant(R0, -0x1001); // MNV+CMP. in TEST_F()
1557 __ CmpConstant(R1, -0x1002); // MOVW+CMN. in TEST_F()
1558 __ CmpConstant(R0, -0xffff); // MOVW+CMN. in TEST_F()
1559 __ CmpConstant(R1, -0x10000); // CMN. in TEST_F()
1560 __ CmpConstant(R0, -0x10001); // CMN. in TEST_F()
1561 __ CmpConstant(R1, -0x10002); // MVN+CMP. in TEST_F()
1562 __ CmpConstant(R0, -0x10003); // MOVW+MOVT+CMP. in TEST_F()
1564 __ CmpConstant(R8, 0); // 32-bit CMP. in TEST_F()
1565 __ CmpConstant(R9, 1); // 32-bit CMP. in TEST_F()
1566 __ CmpConstant(R8, 7); // 32-bit CMP. in TEST_F()
1567 __ CmpConstant(R9, 8); // 32-bit CMP. in TEST_F()
1568 __ CmpConstant(R8, 255); // 32-bit CMP. in TEST_F()
1569 __ CmpConstant(R9, 256); // 32-bit CMP. in TEST_F()
1570 __ CmpConstant(R8, 257); // MNV+CMN in TEST_F()
1571 __ CmpConstant(R9, 0xfff); // MOVW+CMP. in TEST_F()
1572 __ CmpConstant(R8, 0x1000); // 32-bit CMP. in TEST_F()
1573 __ CmpConstant(R9, 0x1001); // MVN+CMN. in TEST_F()
1574 __ CmpConstant(R8, 0x1002); // MOVW+CMP. in TEST_F()
1575 __ CmpConstant(R9, 0xffff); // MOVW+CMP. in TEST_F()
1576 __ CmpConstant(R8, 0x10000); // 32-bit CMP. in TEST_F()
1577 __ CmpConstant(R9, 0x10001); // 32-bit CMP. in TEST_F()
1578 __ CmpConstant(R8, 0x10002); // MVN+CMN. in TEST_F()
1579 __ CmpConstant(R9, 0x10003); // MOVW+MOVT+CMP. in TEST_F()
1580 __ CmpConstant(R8, -1); // 32-bit CMP in TEST_F()
1581 __ CmpConstant(R9, -7); // CMN. in TEST_F()
1582 __ CmpConstant(R8, -8); // CMN. in TEST_F()
1583 __ CmpConstant(R9, -255); // CMN. in TEST_F()
1584 __ CmpConstant(R8, -256); // CMN. in TEST_F()
1585 __ CmpConstant(R9, -257); // MNV+CMP. in TEST_F()
1586 __ CmpConstant(R8, -0xfff); // MOVW+CMN. in TEST_F()
1587 __ CmpConstant(R9, -0x1000); // CMN. in TEST_F()
1588 __ CmpConstant(R8, -0x1001); // MVN+CMP. in TEST_F()
1589 __ CmpConstant(R9, -0x1002); // MOVW+CMN. in TEST_F()
1590 __ CmpConstant(R8, -0xffff); // MOVW+CMN. in TEST_F()
1591 __ CmpConstant(R9, -0x10000); // CMN. in TEST_F()
1592 __ CmpConstant(R8, -0x10001); // CMN. in TEST_F()
1593 __ CmpConstant(R9, -0x10002); // MVN+CMP. in TEST_F()
1594 __ CmpConstant(R8, -0x10003); // MOVW+MOVT+CMP. in TEST_F()
1620 #undef __
1621 #define __ assembler-> macro
1625 __ FinalizeCode(); in EmitAndCheck()
1626 size_t cs = __ CodeSize(); in EmitAndCheck()
1629 __ FinalizeInstructions(code); in EmitAndCheck()
1642 #undef __
1643 #define __ assembler. macro
1669 __ BuildFrame(frame_size, mr_conv->MethodRegister(), callee_save_regs, mr_conv->EntrySpills()); in TEST_F()
1670 __ IncreaseFrameSize(32); in TEST_F()
1673 __ IncreaseFrameSize(4096); in TEST_F()
1674 __ Load(method_register, FrameOffset(32), 4); in TEST_F()
1675 __ Load(method_register, FrameOffset(124), 4); in TEST_F()
1676 __ Load(method_register, FrameOffset(132), 4); in TEST_F()
1677 __ Load(method_register, FrameOffset(1020), 4); in TEST_F()
1678 __ Load(method_register, FrameOffset(1024), 4); in TEST_F()
1679 __ Load(scratch_register, FrameOffset(4092), 4); in TEST_F()
1680 __ Load(scratch_register, FrameOffset(4096), 4); in TEST_F()
1681 __ LoadRawPtrFromThread(scratch_register, ThreadOffset32(512)); in TEST_F()
1682 __ LoadRef(method_register, scratch_register, MemberOffset(128), /* unpoison_reference */ false); in TEST_F()
1685 __ Store(FrameOffset(32), method_register, 4); in TEST_F()
1686 __ Store(FrameOffset(124), method_register, 4); in TEST_F()
1687 __ Store(FrameOffset(132), method_register, 4); in TEST_F()
1688 __ Store(FrameOffset(1020), method_register, 4); in TEST_F()
1689 __ Store(FrameOffset(1024), method_register, 4); in TEST_F()
1690 __ Store(FrameOffset(4092), scratch_register, 4); in TEST_F()
1691 __ Store(FrameOffset(4096), scratch_register, 4); in TEST_F()
1692 __ StoreImmediateToFrame(FrameOffset(48), 0xFF, scratch_register); in TEST_F()
1693 __ StoreImmediateToFrame(FrameOffset(48), 0xFFFFFF, scratch_register); in TEST_F()
1694 __ StoreRawPtr(FrameOffset(48), scratch_register); in TEST_F()
1695 __ StoreRef(FrameOffset(48), scratch_register); in TEST_F()
1696 __ StoreSpanning(FrameOffset(48), method_register, FrameOffset(48), scratch_register); in TEST_F()
1697 __ StoreStackOffsetToThread(ThreadOffset32(512), FrameOffset(4096), scratch_register); in TEST_F()
1698 __ StoreStackPointerToThread(ThreadOffset32(512)); in TEST_F()
1701 __ Call(method_register, FrameOffset(48), scratch_register); in TEST_F()
1702 __ Copy(FrameOffset(48), FrameOffset(44), scratch_register, 4); in TEST_F()
1703 __ CopyRawPtrFromThread(FrameOffset(44), ThreadOffset32(512), scratch_register); in TEST_F()
1704 __ CopyRef(FrameOffset(48), FrameOffset(44), scratch_register); in TEST_F()
1705 __ GetCurrentThread(method_register); in TEST_F()
1706 __ GetCurrentThread(FrameOffset(48), scratch_register); in TEST_F()
1707 __ Move(scratch_register, method_register, 4); in TEST_F()
1708 __ VerifyObject(scratch_register, false); in TEST_F()
1710 __ CreateHandleScopeEntry(scratch_register, FrameOffset(48), scratch_register, true); in TEST_F()
1711 __ CreateHandleScopeEntry(scratch_register, FrameOffset(48), scratch_register, false); in TEST_F()
1712 __ CreateHandleScopeEntry(method_register, FrameOffset(48), scratch_register, true); in TEST_F()
1713 __ CreateHandleScopeEntry(FrameOffset(48), FrameOffset(64), scratch_register, true); in TEST_F()
1714 __ CreateHandleScopeEntry(method_register, FrameOffset(0), scratch_register, true); in TEST_F()
1715 __ CreateHandleScopeEntry(method_register, FrameOffset(1025), scratch_register, true); in TEST_F()
1716 __ CreateHandleScopeEntry(scratch_register, FrameOffset(1025), scratch_register, true); in TEST_F()
1718 __ ExceptionPoll(scratch_register, 0); in TEST_F()
1722 __ Store(FrameOffset(2047), scratch_register, 4); in TEST_F()
1725 __ DecreaseFrameSize(4096); in TEST_F()
1726 __ DecreaseFrameSize(32); in TEST_F()
1727 __ RemoveFrame(frame_size, callee_save_regs); in TEST_F()
1737 #undef __
1738 #define __ assembler.asm_. macro
1742 __ LoadFromOffset(kLoadWord, R2, R4, 12); in TEST_F()
1743 __ LoadFromOffset(kLoadWord, R2, R4, 0xfff); in TEST_F()
1744 __ LoadFromOffset(kLoadWord, R2, R4, 0x1000); in TEST_F()
1745 __ LoadFromOffset(kLoadWord, R2, R4, 0x1000a4); in TEST_F()
1746 __ LoadFromOffset(kLoadWord, R2, R4, 0x101000); in TEST_F()
1747 __ LoadFromOffset(kLoadWord, R4, R4, 0x101000); in TEST_F()
1748 __ LoadFromOffset(kLoadUnsignedHalfword, R2, R4, 12); in TEST_F()
1749 __ LoadFromOffset(kLoadUnsignedHalfword, R2, R4, 0xfff); in TEST_F()
1750 __ LoadFromOffset(kLoadUnsignedHalfword, R2, R4, 0x1000); in TEST_F()
1751 __ LoadFromOffset(kLoadUnsignedHalfword, R2, R4, 0x1000a4); in TEST_F()
1752 __ LoadFromOffset(kLoadUnsignedHalfword, R2, R4, 0x101000); in TEST_F()
1753 __ LoadFromOffset(kLoadUnsignedHalfword, R4, R4, 0x101000); in TEST_F()
1754 __ LoadFromOffset(kLoadWordPair, R2, R4, 12); in TEST_F()
1755 __ LoadFromOffset(kLoadWordPair, R2, R4, 0x3fc); in TEST_F()
1756 __ LoadFromOffset(kLoadWordPair, R2, R4, 0x400); in TEST_F()
1757 __ LoadFromOffset(kLoadWordPair, R2, R4, 0x400a4); in TEST_F()
1758 __ LoadFromOffset(kLoadWordPair, R2, R4, 0x40400); in TEST_F()
1759 __ LoadFromOffset(kLoadWordPair, R4, R4, 0x40400); in TEST_F()
1763 __ LoadFromOffset(kLoadWord, R0, R12, 12); // 32-bit because of R12. in TEST_F()
1765 __ LoadFromOffset(kLoadWord, R2, R4, 0xa4 - 0x100000); in TEST_F()
1767 __ LoadFromOffset(kLoadSignedByte, R2, R4, 12); in TEST_F()
1768 __ LoadFromOffset(kLoadUnsignedByte, R2, R4, 12); in TEST_F()
1769 __ LoadFromOffset(kLoadSignedHalfword, R2, R4, 12); in TEST_F()
1775 __ StoreToOffset(kStoreWord, R2, R4, 12); in TEST_F()
1776 __ StoreToOffset(kStoreWord, R2, R4, 0xfff); in TEST_F()
1777 __ StoreToOffset(kStoreWord, R2, R4, 0x1000); in TEST_F()
1778 __ StoreToOffset(kStoreWord, R2, R4, 0x1000a4); in TEST_F()
1779 __ StoreToOffset(kStoreWord, R2, R4, 0x101000); in TEST_F()
1780 __ StoreToOffset(kStoreWord, R4, R4, 0x101000); in TEST_F()
1781 __ StoreToOffset(kStoreHalfword, R2, R4, 12); in TEST_F()
1782 __ StoreToOffset(kStoreHalfword, R2, R4, 0xfff); in TEST_F()
1783 __ StoreToOffset(kStoreHalfword, R2, R4, 0x1000); in TEST_F()
1784 __ StoreToOffset(kStoreHalfword, R2, R4, 0x1000a4); in TEST_F()
1785 __ StoreToOffset(kStoreHalfword, R2, R4, 0x101000); in TEST_F()
1786 __ StoreToOffset(kStoreHalfword, R4, R4, 0x101000); in TEST_F()
1787 __ StoreToOffset(kStoreWordPair, R2, R4, 12); in TEST_F()
1788 __ StoreToOffset(kStoreWordPair, R2, R4, 0x3fc); in TEST_F()
1789 __ StoreToOffset(kStoreWordPair, R2, R4, 0x400); in TEST_F()
1790 __ StoreToOffset(kStoreWordPair, R2, R4, 0x400a4); in TEST_F()
1791 __ StoreToOffset(kStoreWordPair, R2, R4, 0x40400); in TEST_F()
1792 __ StoreToOffset(kStoreWordPair, R4, R4, 0x40400); in TEST_F()
1796 __ StoreToOffset(kStoreWord, R0, R12, 12); // 32-bit because of R12. in TEST_F()
1798 __ StoreToOffset(kStoreWord, R2, R4, 0xa4 - 0x100000); in TEST_F()
1800 __ StoreToOffset(kStoreByte, R2, R4, 12); in TEST_F()
1805 #undef __