Lines Matching refs:__

159 #define __ assembler->  macro
164 __ mov(R0, ShifterOperand(R1)); in TEST()
165 __ mov(R8, ShifterOperand(R9)); in TEST()
167 __ mov(R0, ShifterOperand(1)); in TEST()
168 __ mov(R8, ShifterOperand(9)); in TEST()
170 size_t cs = __ CodeSize(); in TEST()
173 __ FinalizeInstructions(code); in TEST()
182 __ mov(R0, ShifterOperand(R1)); in TEST()
183 __ mov(R8, ShifterOperand(R9)); in TEST()
185 size_t cs = __ CodeSize(); in TEST()
188 __ FinalizeInstructions(code); in TEST()
196 __ mov(R0, ShifterOperand(R1)); in TEST()
197 __ add(R0, R1, ShifterOperand(R2)); in TEST()
198 __ add(R0, R1, ShifterOperand()); in TEST()
200 size_t cs = __ CodeSize(); in TEST()
203 __ FinalizeInstructions(code); in TEST()
211 __ mov(R0, ShifterOperand(R1)); in TEST()
212 __ mvn(R0, ShifterOperand(R1)); in TEST()
215 __ add(R0, R1, ShifterOperand(R2)); in TEST()
216 __ sub(R0, R1, ShifterOperand(R2)); in TEST()
217 __ and_(R0, R1, ShifterOperand(R2)); in TEST()
218 __ orr(R0, R1, ShifterOperand(R2)); in TEST()
219 __ eor(R0, R1, ShifterOperand(R2)); in TEST()
220 __ bic(R0, R1, ShifterOperand(R2)); in TEST()
221 __ adc(R0, R1, ShifterOperand(R2)); in TEST()
222 __ sbc(R0, R1, ShifterOperand(R2)); in TEST()
223 __ rsb(R0, R1, ShifterOperand(R2)); in TEST()
226 __ add(R0, R1, ShifterOperand()); in TEST()
227 __ sub(R0, R1, ShifterOperand()); in TEST()
228 __ and_(R0, R0, ShifterOperand(R1)); in TEST()
229 __ orr(R0, R0, ShifterOperand(R1)); in TEST()
230 __ eor(R0, R0, ShifterOperand(R1)); in TEST()
231 __ bic(R0, R0, ShifterOperand(R1)); in TEST()
232 __ adc(R0, R0, ShifterOperand(R1)); in TEST()
233 __ sbc(R0, R0, ShifterOperand(R1)); in TEST()
234 __ rsb(R0, R0, ShifterOperand(R1)); in TEST()
236 __ tst(R0, ShifterOperand(R1)); in TEST()
237 __ teq(R0, ShifterOperand(R1)); in TEST()
238 __ cmp(R0, ShifterOperand(R1)); in TEST()
239 __ cmn(R0, ShifterOperand(R1)); in TEST()
241 __ movs(R0, ShifterOperand(R1)); in TEST()
242 __ mvns(R0, ShifterOperand(R1)); in TEST()
245 __ add(R12, R1, ShifterOperand(R0)); in TEST()
247 size_t cs = __ CodeSize(); in TEST()
250 __ FinalizeInstructions(code); in TEST()
258 __ mov(R0, ShifterOperand(0x55)); in TEST()
259 __ mvn(R0, ShifterOperand(0x55)); in TEST()
260 __ add(R0, R1, ShifterOperand(0x55)); in TEST()
261 __ sub(R0, R1, ShifterOperand(0x55)); in TEST()
262 __ and_(R0, R1, ShifterOperand(0x55)); in TEST()
263 __ orr(R0, R1, ShifterOperand(0x55)); in TEST()
264 __ eor(R0, R1, ShifterOperand(0x55)); in TEST()
265 __ bic(R0, R1, ShifterOperand(0x55)); in TEST()
266 __ adc(R0, R1, ShifterOperand(0x55)); in TEST()
267 __ sbc(R0, R1, ShifterOperand(0x55)); in TEST()
268 __ rsb(R0, R1, ShifterOperand(0x55)); in TEST()
270 __ tst(R0, ShifterOperand(0x55)); in TEST()
271 __ teq(R0, ShifterOperand(0x55)); in TEST()
272 __ cmp(R0, ShifterOperand(0x55)); in TEST()
273 __ cmn(R0, ShifterOperand(0x55)); in TEST()
275 __ add(R0, R1, ShifterOperand(5)); in TEST()
276 __ sub(R0, R1, ShifterOperand(5)); in TEST()
278 __ movs(R0, ShifterOperand(0x55)); in TEST()
279 __ mvns(R0, ShifterOperand(0x55)); in TEST()
281 size_t cs = __ CodeSize(); in TEST()
284 __ FinalizeInstructions(code); in TEST()
292 __ mov(R0, ShifterOperand(0x550055)); in TEST()
293 __ mvn(R0, ShifterOperand(0x550055)); in TEST()
294 __ add(R0, R1, ShifterOperand(0x550055)); in TEST()
295 __ sub(R0, R1, ShifterOperand(0x550055)); in TEST()
296 __ and_(R0, R1, ShifterOperand(0x550055)); in TEST()
297 __ orr(R0, R1, ShifterOperand(0x550055)); in TEST()
298 __ eor(R0, R1, ShifterOperand(0x550055)); in TEST()
299 __ bic(R0, R1, ShifterOperand(0x550055)); in TEST()
300 __ adc(R0, R1, ShifterOperand(0x550055)); in TEST()
301 __ sbc(R0, R1, ShifterOperand(0x550055)); in TEST()
302 __ rsb(R0, R1, ShifterOperand(0x550055)); in TEST()
304 __ tst(R0, ShifterOperand(0x550055)); in TEST()
305 __ teq(R0, ShifterOperand(0x550055)); in TEST()
306 __ cmp(R0, ShifterOperand(0x550055)); in TEST()
307 __ cmn(R0, ShifterOperand(0x550055)); in TEST()
309 size_t cs = __ CodeSize(); in TEST()
312 __ FinalizeInstructions(code); in TEST()
321 __ mov(R0, ShifterOperand(0x550055)); in TEST()
322 __ mov(R0, ShifterOperand(0x55005500)); in TEST()
323 __ mov(R0, ShifterOperand(0x55555555)); in TEST()
324 __ mov(R0, ShifterOperand(0xd5000000)); // rotated to first position in TEST()
325 __ mov(R0, ShifterOperand(0x6a000000)); // rotated to second position in TEST()
326 __ mov(R0, ShifterOperand(0x350)); // rotated to 2nd last position in TEST()
327 __ mov(R0, ShifterOperand(0x1a8)); // rotated to last position in TEST()
329 size_t cs = __ CodeSize(); in TEST()
332 __ FinalizeInstructions(code); in TEST()
340 __ mov(R3, ShifterOperand(R4, LSL, 4)); in TEST()
341 __ mov(R3, ShifterOperand(R4, LSR, 5)); in TEST()
342 __ mov(R3, ShifterOperand(R4, ASR, 6)); in TEST()
343 __ mov(R3, ShifterOperand(R4, ROR, 7)); in TEST()
344 __ mov(R3, ShifterOperand(R4, ROR)); in TEST()
347 __ mov(R8, ShifterOperand(R4, LSL, 4)); in TEST()
348 __ mov(R8, ShifterOperand(R4, LSR, 5)); in TEST()
349 __ mov(R8, ShifterOperand(R4, ASR, 6)); in TEST()
350 __ mov(R8, ShifterOperand(R4, ROR, 7)); in TEST()
351 __ mov(R8, ShifterOperand(R4, RRX)); in TEST()
353 size_t cs = __ CodeSize(); in TEST()
356 __ FinalizeInstructions(code); in TEST()
365 __ ldr(R3, Address(R4, 24)); in TEST()
366 __ ldrb(R3, Address(R4, 24)); in TEST()
367 __ ldrh(R3, Address(R4, 24)); in TEST()
368 __ ldrsb(R3, Address(R4, 24)); in TEST()
369 __ ldrsh(R3, Address(R4, 24)); in TEST()
371 __ ldr(R3, Address(SP, 24)); in TEST()
374 __ ldr(R8, Address(R4, 24)); in TEST()
375 __ ldrb(R8, Address(R4, 24)); in TEST()
376 __ ldrh(R8, Address(R4, 24)); in TEST()
377 __ ldrsb(R8, Address(R4, 24)); in TEST()
378 __ ldrsh(R8, Address(R4, 24)); in TEST()
380 size_t cs = __ CodeSize(); in TEST()
383 __ FinalizeInstructions(code); in TEST()
392 __ str(R3, Address(R4, 24)); in TEST()
393 __ strb(R3, Address(R4, 24)); in TEST()
394 __ strh(R3, Address(R4, 24)); in TEST()
396 __ str(R3, Address(SP, 24)); in TEST()
399 __ str(R8, Address(R4, 24)); in TEST()
400 __ strb(R8, Address(R4, 24)); in TEST()
401 __ strh(R8, Address(R4, 24)); in TEST()
403 size_t cs = __ CodeSize(); in TEST()
406 __ FinalizeInstructions(code); in TEST()
414 __ ldr(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
415 __ ldr(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST()
416 __ ldr(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST()
417 __ ldr(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST()
418 __ ldr(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST()
419 __ ldr(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST()
421 __ ldrb(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
422 __ ldrb(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST()
423 __ ldrb(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST()
424 __ ldrb(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST()
425 __ ldrb(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST()
426 __ ldrb(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST()
428 __ ldrh(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
429 __ ldrh(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST()
430 __ ldrh(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST()
431 __ ldrh(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST()
432 __ ldrh(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST()
433 __ ldrh(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST()
435 __ ldrsb(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
436 __ ldrsb(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST()
437 __ ldrsb(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST()
438 __ ldrsb(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST()
439 __ ldrsb(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST()
440 __ ldrsb(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST()
442 __ ldrsh(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
443 __ ldrsh(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST()
444 __ ldrsh(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST()
445 __ ldrsh(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST()
446 __ ldrsh(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST()
447 __ ldrsh(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST()
449 size_t cs = __ CodeSize(); in TEST()
452 __ FinalizeInstructions(code); in TEST()
461 __ str(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
462 __ str(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST()
463 __ str(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST()
464 __ str(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST()
465 __ str(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST()
466 __ str(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST()
468 __ strb(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
469 __ strb(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST()
470 __ strb(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST()
471 __ strb(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST()
472 __ strb(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST()
473 __ strb(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST()
475 __ strh(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
476 __ strh(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST()
477 __ strh(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST()
478 __ strh(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST()
479 __ strh(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST()
480 __ strh(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST()
482 size_t cs = __ CodeSize(); in TEST()
485 __ FinalizeInstructions(code); in TEST()
493 __ ldr(R3, Address(R4, -24, Address::Mode::Offset)); in TEST()
494 __ ldr(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST()
495 __ ldr(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST()
496 __ ldr(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST()
497 __ ldr(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST()
498 __ ldr(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST()
500 __ ldrb(R3, Address(R4, -24, Address::Mode::Offset)); in TEST()
501 __ ldrb(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST()
502 __ ldrb(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST()
503 __ ldrb(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST()
504 __ ldrb(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST()
505 __ ldrb(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST()
507 __ ldrh(R3, Address(R4, -24, Address::Mode::Offset)); in TEST()
508 __ ldrh(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST()
509 __ ldrh(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST()
510 __ ldrh(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST()
511 __ ldrh(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST()
512 __ ldrh(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST()
514 __ ldrsb(R3, Address(R4, -24, Address::Mode::Offset)); in TEST()
515 __ ldrsb(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST()
516 __ ldrsb(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST()
517 __ ldrsb(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST()
518 __ ldrsb(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST()
519 __ ldrsb(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST()
521 __ ldrsh(R3, Address(R4, -24, Address::Mode::Offset)); in TEST()
522 __ ldrsh(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST()
523 __ ldrsh(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST()
524 __ ldrsh(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST()
525 __ ldrsh(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST()
526 __ ldrsh(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST()
528 __ str(R3, Address(R4, -24, Address::Mode::Offset)); in TEST()
529 __ str(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST()
530 __ str(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST()
531 __ str(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST()
532 __ str(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST()
533 __ str(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST()
535 __ strb(R3, Address(R4, -24, Address::Mode::Offset)); in TEST()
536 __ strb(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST()
537 __ strb(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST()
538 __ strb(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST()
539 __ strb(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST()
540 __ strb(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST()
542 __ strh(R3, Address(R4, -24, Address::Mode::Offset)); in TEST()
543 __ strh(R3, Address(R4, -24, Address::Mode::PreIndex)); in TEST()
544 __ strh(R3, Address(R4, -24, Address::Mode::PostIndex)); in TEST()
545 __ strh(R3, Address(R4, -24, Address::Mode::NegOffset)); in TEST()
546 __ strh(R3, Address(R4, -24, Address::Mode::NegPreIndex)); in TEST()
547 __ strh(R3, Address(R4, -24, Address::Mode::NegPostIndex)); in TEST()
549 size_t cs = __ CodeSize(); in TEST()
552 __ FinalizeInstructions(code); in TEST()
560 __ strd(R2, Address(R0, 24, Address::Mode::Offset)); in TEST()
561 __ ldrd(R2, Address(R0, 24, Address::Mode::Offset)); in TEST()
563 size_t cs = __ CodeSize(); in TEST()
566 __ FinalizeInstructions(code); in TEST()
574 __ strd(R2, Address(R0, 24, Address::Mode::Offset)); in TEST()
575 __ strd(R2, Address(R0, 24, Address::Mode::PreIndex)); in TEST()
576 __ strd(R2, Address(R0, 24, Address::Mode::PostIndex)); in TEST()
577 __ strd(R2, Address(R0, 24, Address::Mode::NegOffset)); in TEST()
578 __ strd(R2, Address(R0, 24, Address::Mode::NegPreIndex)); in TEST()
579 __ strd(R2, Address(R0, 24, Address::Mode::NegPostIndex)); in TEST()
581 __ ldrd(R2, Address(R0, 24, Address::Mode::Offset)); in TEST()
582 __ ldrd(R2, Address(R0, 24, Address::Mode::PreIndex)); in TEST()
583 __ ldrd(R2, Address(R0, 24, Address::Mode::PostIndex)); in TEST()
584 __ ldrd(R2, Address(R0, 24, Address::Mode::NegOffset)); in TEST()
585 __ ldrd(R2, Address(R0, 24, Address::Mode::NegPreIndex)); in TEST()
586 __ ldrd(R2, Address(R0, 24, Address::Mode::NegPostIndex)); in TEST()
588 size_t cs = __ CodeSize(); in TEST()
591 __ FinalizeInstructions(code); in TEST()
599 __ strd(R2, Address(R0, -24, Address::Mode::Offset)); in TEST()
600 __ strd(R2, Address(R0, -24, Address::Mode::PreIndex)); in TEST()
601 __ strd(R2, Address(R0, -24, Address::Mode::PostIndex)); in TEST()
602 __ strd(R2, Address(R0, -24, Address::Mode::NegOffset)); in TEST()
603 __ strd(R2, Address(R0, -24, Address::Mode::NegPreIndex)); in TEST()
604 __ strd(R2, Address(R0, -24, Address::Mode::NegPostIndex)); in TEST()
606 __ ldrd(R2, Address(R0, -24, Address::Mode::Offset)); in TEST()
607 __ ldrd(R2, Address(R0, -24, Address::Mode::PreIndex)); in TEST()
608 __ ldrd(R2, Address(R0, -24, Address::Mode::PostIndex)); in TEST()
609 __ ldrd(R2, Address(R0, -24, Address::Mode::NegOffset)); in TEST()
610 __ ldrd(R2, Address(R0, -24, Address::Mode::NegPreIndex)); in TEST()
611 __ ldrd(R2, Address(R0, -24, Address::Mode::NegPostIndex)); in TEST()
613 size_t cs = __ CodeSize(); in TEST()
616 __ FinalizeInstructions(code); in TEST()
625 __ mov(R0, ShifterOperand(2)); in TEST()
626 __ Bind(&l1); in TEST()
627 __ mov(R1, ShifterOperand(1)); in TEST()
628 __ b(&l1); in TEST()
630 __ b(&l2); in TEST()
631 __ mov(R1, ShifterOperand(2)); in TEST()
632 __ Bind(&l2); in TEST()
633 __ mov(R0, ShifterOperand(3)); in TEST()
636 __ mov(R0, ShifterOperand(2)); in TEST()
637 __ Bind(&l3); in TEST()
638 __ mov(R1, ShifterOperand(1)); in TEST()
639 __ b(&l3, EQ); in TEST()
642 __ b(&l4, EQ); in TEST()
643 __ mov(R1, ShifterOperand(2)); in TEST()
644 __ Bind(&l4); in TEST()
645 __ mov(R0, ShifterOperand(3)); in TEST()
649 __ b(&l5); in TEST()
650 __ mov(R1, ShifterOperand(4)); in TEST()
651 __ b(&l5); in TEST()
652 __ mov(R1, ShifterOperand(5)); in TEST()
653 __ Bind(&l5); in TEST()
654 __ mov(R0, ShifterOperand(6)); in TEST()
656 size_t cs = __ CodeSize(); in TEST()
659 __ FinalizeInstructions(code); in TEST()
669 __ mov(R0, ShifterOperand(2)); in TEST()
670 __ Bind(&l1); in TEST()
671 __ mov(R1, ShifterOperand(1)); in TEST()
672 __ b(&l1); in TEST()
675 __ b(&l2); in TEST()
676 __ mov(R1, ShifterOperand(2)); in TEST()
677 __ Bind(&l2); in TEST()
678 __ mov(R0, ShifterOperand(3)); in TEST()
681 __ mov(R0, ShifterOperand(2)); in TEST()
682 __ Bind(&l3); in TEST()
683 __ mov(R1, ShifterOperand(1)); in TEST()
684 __ b(&l3, EQ); in TEST()
687 __ b(&l4, EQ); in TEST()
688 __ mov(R1, ShifterOperand(2)); in TEST()
689 __ Bind(&l4); in TEST()
690 __ mov(R0, ShifterOperand(3)); in TEST()
694 __ b(&l5); in TEST()
695 __ mov(R1, ShifterOperand(4)); in TEST()
696 __ b(&l5); in TEST()
697 __ mov(R1, ShifterOperand(5)); in TEST()
698 __ Bind(&l5); in TEST()
699 __ mov(R0, ShifterOperand(6)); in TEST()
701 size_t cs = __ CodeSize(); in TEST()
704 __ FinalizeInstructions(code); in TEST()
713 __ ldm(DB_W, R4, (1 << R0 | 1 << R3)); in TEST()
716 __ ldm(DB_W, R4, (1 << LR | 1 << R11)); in TEST()
717 __ ldm(DB, R4, (1 << LR | 1 << R11)); in TEST()
720 __ ldm(DB_W, R4, (1 << R5)); in TEST()
722 size_t cs = __ CodeSize(); in TEST()
725 __ FinalizeInstructions(code); in TEST()
734 __ stm(IA_W, R4, (1 << R0 | 1 << R3)); in TEST()
737 __ stm(IA_W, R4, (1 << LR | 1 << R11)); in TEST()
738 __ stm(IA, R4, (1 << LR | 1 << R11)); in TEST()
741 __ stm(IA_W, R4, (1 << R5)); in TEST()
742 __ stm(IA, R4, (1 << R5)); in TEST()
744 size_t cs = __ CodeSize(); in TEST()
747 __ FinalizeInstructions(code); in TEST()
755 __ movw(R4, 0); // 16 bit. in TEST()
756 __ movw(R4, 0x34); // 16 bit. in TEST()
757 __ movw(R9, 0x34); // 32 bit due to high register. in TEST()
758 __ movw(R3, 0x1234); // 32 bit due to large value. in TEST()
759 __ movw(R9, 0xffff); // 32 bit due to large value and high register. in TEST()
762 __ movt(R0, 0); in TEST()
763 __ movt(R0, 0x1234); in TEST()
764 __ movt(R1, 0xffff); in TEST()
766 size_t cs = __ CodeSize(); in TEST()
769 __ FinalizeInstructions(code); in TEST()
777 __ add(R2, SP, ShifterOperand(0x50)); // 16 bit. in TEST()
778 __ add(SP, SP, ShifterOperand(0x50)); // 16 bit. in TEST()
779 __ add(R8, SP, ShifterOperand(0x50)); // 32 bit. in TEST()
781 __ add(R2, SP, ShifterOperand(0xf00)); // 32 bit due to imm size. in TEST()
782 __ add(SP, SP, ShifterOperand(0xf00)); // 32 bit due to imm size. in TEST()
784 __ sub(SP, SP, ShifterOperand(0x50)); // 16 bit in TEST()
785 __ sub(R0, SP, ShifterOperand(0x50)); // 32 bit in TEST()
786 __ sub(R8, SP, ShifterOperand(0x50)); // 32 bit. in TEST()
788 __ sub(SP, SP, ShifterOperand(0xf00)); // 32 bit due to imm size in TEST()
790 size_t cs = __ CodeSize(); in TEST()
793 __ FinalizeInstructions(code); in TEST()
801 __ StoreToOffset(kStoreWord, R2, R4, 12); // Simple in TEST()
802 __ StoreToOffset(kStoreWord, R2, R4, 0x2000); // Offset too big. in TEST()
803 __ StoreToOffset(kStoreWord, R0, R12, 12); in TEST()
804 __ StoreToOffset(kStoreHalfword, R0, R12, 12); in TEST()
805 __ StoreToOffset(kStoreByte, R2, R12, 12); in TEST()
807 size_t cs = __ CodeSize(); in TEST()
810 __ FinalizeInstructions(code); in TEST()
819 __ it(EQ); in TEST()
820 __ mov(R1, ShifterOperand(1), EQ); in TEST()
822 __ it(EQ, kItThen); in TEST()
823 __ mov(R1, ShifterOperand(1), EQ); in TEST()
824 __ mov(R2, ShifterOperand(2), EQ); in TEST()
826 __ it(EQ, kItElse); in TEST()
827 __ mov(R1, ShifterOperand(1), EQ); in TEST()
828 __ mov(R2, ShifterOperand(2), NE); in TEST()
830 __ it(EQ, kItThen, kItElse); in TEST()
831 __ mov(R1, ShifterOperand(1), EQ); in TEST()
832 __ mov(R2, ShifterOperand(2), EQ); in TEST()
833 __ mov(R3, ShifterOperand(3), NE); in TEST()
835 __ it(EQ, kItElse, kItElse); in TEST()
836 __ mov(R1, ShifterOperand(1), EQ); in TEST()
837 __ mov(R2, ShifterOperand(2), NE); in TEST()
838 __ mov(R3, ShifterOperand(3), NE); in TEST()
840 __ it(EQ, kItThen, kItThen, kItElse); in TEST()
841 __ mov(R1, ShifterOperand(1), EQ); in TEST()
842 __ mov(R2, ShifterOperand(2), EQ); in TEST()
843 __ mov(R3, ShifterOperand(3), EQ); in TEST()
844 __ mov(R4, ShifterOperand(4), NE); in TEST()
846 size_t cs = __ CodeSize(); in TEST()
849 __ FinalizeInstructions(code); in TEST()
858 __ cbz(R2, &l1); in TEST()
859 __ mov(R1, ShifterOperand(3)); in TEST()
860 __ mov(R2, ShifterOperand(3)); in TEST()
861 __ Bind(&l1); in TEST()
862 __ mov(R2, ShifterOperand(4)); in TEST()
865 __ cbnz(R2, &l2); in TEST()
866 __ mov(R8, ShifterOperand(3)); in TEST()
867 __ mov(R2, ShifterOperand(3)); in TEST()
868 __ Bind(&l2); in TEST()
869 __ mov(R2, ShifterOperand(4)); in TEST()
871 size_t cs = __ CodeSize(); in TEST()
874 __ FinalizeInstructions(code); in TEST()
882 __ mul(R0, R1, R0); in TEST()
883 __ mul(R0, R1, R2); in TEST()
884 __ mul(R8, R9, R8); in TEST()
885 __ mul(R8, R9, R10); in TEST()
887 __ mla(R0, R1, R2, R3); in TEST()
888 __ mla(R8, R9, R8, R9); in TEST()
890 __ mls(R0, R1, R2, R3); in TEST()
891 __ mls(R8, R9, R8, R9); in TEST()
893 __ umull(R0, R1, R2, R3); in TEST()
894 __ umull(R8, R9, R10, R11); in TEST()
896 size_t cs = __ CodeSize(); in TEST()
899 __ FinalizeInstructions(code); in TEST()
907 __ sdiv(R0, R1, R2); in TEST()
908 __ sdiv(R8, R9, R10); in TEST()
910 __ udiv(R0, R1, R2); in TEST()
911 __ udiv(R8, R9, R10); in TEST()
913 size_t cs = __ CodeSize(); in TEST()
916 __ FinalizeInstructions(code); in TEST()
924 __ vmovs(S1, 1.0); in TEST()
925 __ vmovd(D1, 1.0); in TEST()
927 __ vmovs(S1, S2); in TEST()
928 __ vmovd(D1, D2); in TEST()
930 size_t cs = __ CodeSize(); in TEST()
933 __ FinalizeInstructions(code); in TEST()
942 __ vadds(S0, S1, S2); in TEST()
943 __ vsubs(S0, S1, S2); in TEST()
944 __ vmuls(S0, S1, S2); in TEST()
945 __ vmlas(S0, S1, S2); in TEST()
946 __ vmlss(S0, S1, S2); in TEST()
947 __ vdivs(S0, S1, S2); in TEST()
948 __ vabss(S0, S1); in TEST()
949 __ vnegs(S0, S1); in TEST()
950 __ vsqrts(S0, S1); in TEST()
952 __ vaddd(D0, D1, D2); in TEST()
953 __ vsubd(D0, D1, D2); in TEST()
954 __ vmuld(D0, D1, D2); in TEST()
955 __ vmlad(D0, D1, D2); in TEST()
956 __ vmlsd(D0, D1, D2); in TEST()
957 __ vdivd(D0, D1, D2); in TEST()
958 __ vabsd(D0, D1); in TEST()
959 __ vnegd(D0, D1); in TEST()
960 __ vsqrtd(D0, D1); in TEST()
962 size_t cs = __ CodeSize(); in TEST()
965 __ FinalizeInstructions(code); in TEST()
973 __ vcvtsd(S2, D2); in TEST()
974 __ vcvtds(D2, S2); in TEST()
976 __ vcvtis(S1, S2); in TEST()
977 __ vcvtsi(S1, S2); in TEST()
979 __ vcvtid(S1, D2); in TEST()
980 __ vcvtdi(D1, S2); in TEST()
982 __ vcvtus(S1, S2); in TEST()
983 __ vcvtsu(S1, S2); in TEST()
985 __ vcvtud(S1, D2); in TEST()
986 __ vcvtdu(D1, S2); in TEST()
988 size_t cs = __ CodeSize(); in TEST()
991 __ FinalizeInstructions(code); in TEST()
999 __ vcmps(S0, S1); in TEST()
1000 __ vcmpd(D0, D1); in TEST()
1002 __ vcmpsz(S2); in TEST()
1003 __ vcmpdz(D2); in TEST()
1005 size_t cs = __ CodeSize(); in TEST()
1008 __ FinalizeInstructions(code); in TEST()
1016 __ blx(LR); in TEST()
1017 __ bx(LR); in TEST()
1019 size_t cs = __ CodeSize(); in TEST()
1022 __ FinalizeInstructions(code); in TEST()
1030 __ bkpt(0); in TEST()
1032 size_t cs = __ CodeSize(); in TEST()
1035 __ FinalizeInstructions(code); in TEST()
1043 __ str(R1, Address(SP, 68)); in TEST()
1044 __ str(R1, Address(SP, 1068)); in TEST()
1046 size_t cs = __ CodeSize(); in TEST()
1049 __ FinalizeInstructions(code); in TEST()
1057 __ vpushs(S2, 4); in TEST()
1058 __ vpushd(D2, 4); in TEST()
1060 __ vpops(S2, 4); in TEST()
1061 __ vpopd(D2, 4); in TEST()
1063 size_t cs = __ CodeSize(); in TEST()
1066 __ FinalizeInstructions(code); in TEST()
1075 __ b(&l1); in TEST()
1077 __ mov(R3, ShifterOperand(i & 0xff)); in TEST()
1079 __ Bind(&l1); in TEST()
1080 __ mov(R1, ShifterOperand(R2)); in TEST()
1082 size_t cs = __ CodeSize(); in TEST()
1085 __ FinalizeInstructions(code); in TEST()
1094 __ b(&l1); in TEST()
1096 __ mov(R3, ShifterOperand(i & 0xff)); in TEST()
1098 __ Bind(&l1); in TEST()
1099 __ mov(R1, ShifterOperand(R2)); in TEST()
1101 size_t cs = __ CodeSize(); in TEST()
1104 __ FinalizeInstructions(code); in TEST()
1113 __ cbz(R4, &l1); in TEST()
1115 __ mov(R3, ShifterOperand(i & 0xff)); in TEST()
1117 __ Bind(&l1); in TEST()
1118 __ mov(R1, ShifterOperand(R2)); in TEST()
1120 size_t cs = __ CodeSize(); in TEST()
1123 __ FinalizeInstructions(code); in TEST()
1132 __ cbz(R4, &l1); in TEST()
1134 __ mov(R3, ShifterOperand(i & 0xff)); in TEST()
1136 __ Bind(&l1); in TEST()
1137 __ mov(R1, ShifterOperand(R2)); in TEST()
1139 size_t cs = __ CodeSize(); in TEST()
1142 __ FinalizeInstructions(code); in TEST()
1151 __ cbz(R4, &l1); in TEST()
1153 __ mov(R3, ShifterOperand(i & 0xff)); in TEST()
1155 __ Bind(&l1); in TEST()
1156 __ mov(R1, ShifterOperand(R2)); in TEST()
1158 size_t cs = __ CodeSize(); in TEST()
1161 __ FinalizeInstructions(code); in TEST()
1171 __ b(&l1); // Forwards. in TEST()
1172 __ Bind(&l2); in TEST()
1176 __ mov(R3, ShifterOperand(i & 0xff)); in TEST()
1178 __ b(&l2); // Backwards. in TEST()
1179 __ Bind(&l1); in TEST()
1180 __ mov(R1, ShifterOperand(R2)); in TEST()
1182 size_t cs = __ CodeSize(); in TEST()
1185 __ FinalizeInstructions(code); in TEST()
1194 __ Lsl(R0, R1, 5); in TEST()
1195 __ Lsr(R0, R1, 5); in TEST()
1196 __ Asr(R0, R1, 5); in TEST()
1198 __ Lsl(R0, R0, R1); in TEST()
1199 __ Lsr(R0, R0, R1); in TEST()
1200 __ Asr(R0, R0, R1); in TEST()
1203 __ Lsl(R8, R1, 5); in TEST()
1204 __ Lsr(R0, R8, 5); in TEST()
1205 __ Asr(R8, R1, 5); in TEST()
1206 __ Ror(R0, R8, 5); in TEST()
1209 __ Lsl(R0, R1, R2); in TEST()
1210 __ Lsr(R0, R1, R2); in TEST()
1211 __ Asr(R0, R1, R2); in TEST()
1212 __ Ror(R0, R1, R2); in TEST()
1215 __ Lsl(R8, R1, R2); in TEST()
1216 __ Lsr(R0, R8, R2); in TEST()
1217 __ Asr(R0, R1, R8); in TEST()
1222 __ Lsl(R8, R1, 5, true); in TEST()
1223 __ Lsr(R0, R8, 5, true); in TEST()
1224 __ Asr(R8, R1, 5, true); in TEST()
1225 __ Ror(R0, R8, 5, true); in TEST()
1228 __ Lsl(R0, R1, R2, true); in TEST()
1229 __ Lsr(R0, R1, R2, true); in TEST()
1230 __ Asr(R0, R1, R2, true); in TEST()
1231 __ Ror(R0, R1, R2, true); in TEST()
1234 __ Lsl(R8, R1, R2, true); in TEST()
1235 __ Lsr(R0, R8, R2, true); in TEST()
1236 __ Asr(R0, R1, R8, true); in TEST()
1238 size_t cs = __ CodeSize(); in TEST()
1241 __ FinalizeInstructions(code); in TEST()
1250 __ ldr(R0, Address(R1, R2)); in TEST()
1251 __ str(R0, Address(R1, R2)); in TEST()
1254 __ ldr(R0, Address(R1, R2, LSL, 1)); in TEST()
1255 __ str(R0, Address(R1, R2, LSL, 1)); in TEST()
1257 __ ldr(R0, Address(R1, R2, LSL, 3)); in TEST()
1258 __ str(R0, Address(R1, R2, LSL, 3)); in TEST()
1261 __ ldr(R8, Address(R1, R2)); in TEST()
1262 __ str(R8, Address(R1, R2)); in TEST()
1264 __ ldr(R1, Address(R8, R2)); in TEST()
1265 __ str(R2, Address(R8, R2)); in TEST()
1267 __ ldr(R0, Address(R1, R8)); in TEST()
1268 __ str(R0, Address(R1, R8)); in TEST()
1270 size_t cs = __ CodeSize(); in TEST()
1273 __ FinalizeInstructions(code); in TEST()
1281 __ ldr(R0, Address(4)); in TEST()
1282 __ str(R0, Address(4)); in TEST()
1284 __ ldr(R0, Address(-8)); in TEST()
1285 __ str(R0, Address(-8)); in TEST()
1288 __ ldr(R0, Address(0x3ff)); // 10 bits (16 bit). in TEST()
1289 __ ldr(R0, Address(0x7ff)); // 11 bits (32 bit). in TEST()
1290 __ str(R0, Address(0x3ff)); // 32 bit (no 16 bit str(literal)). in TEST()
1291 __ str(R0, Address(0x7ff)); // 11 bits (32 bit). in TEST()
1293 size_t cs = __ CodeSize(); in TEST()
1296 __ FinalizeInstructions(code); in TEST()
1304 __ ldr(R0, Address(R4, 124)); // 16 bit. in TEST()
1305 __ ldr(R0, Address(R4, 128)); // 32 bit. in TEST()
1307 __ ldrb(R0, Address(R4, 31)); // 16 bit. in TEST()
1308 __ ldrb(R0, Address(R4, 32)); // 32 bit. in TEST()
1310 __ ldrh(R0, Address(R4, 62)); // 16 bit. in TEST()
1311 __ ldrh(R0, Address(R4, 64)); // 32 bit. in TEST()
1313 __ ldrsb(R0, Address(R4, 31)); // 32 bit. in TEST()
1314 __ ldrsb(R0, Address(R4, 32)); // 32 bit. in TEST()
1316 __ ldrsh(R0, Address(R4, 62)); // 32 bit. in TEST()
1317 __ ldrsh(R0, Address(R4, 64)); // 32 bit. in TEST()
1319 __ str(R0, Address(R4, 124)); // 16 bit. in TEST()
1320 __ str(R0, Address(R4, 128)); // 32 bit. in TEST()
1322 __ strb(R0, Address(R4, 31)); // 16 bit. in TEST()
1323 __ strb(R0, Address(R4, 32)); // 32 bit. in TEST()
1325 __ strh(R0, Address(R4, 62)); // 16 bit. in TEST()
1326 __ strh(R0, Address(R4, 64)); // 32 bit. in TEST()
1328 size_t cs = __ CodeSize(); in TEST()
1331 __ FinalizeInstructions(code); in TEST()
1336 #undef __