Home | History | Annotate | Download | only in cctest

Lines Matching full:compare

79 #define COMPARE(asm_, compare_string) \
92 // Verify that all invocations of the COMPARE macro passed successfully.
103 COMPARE(and_(r0, r1, Operand(r2)),
105 COMPARE(and_(r1, r2, Operand(r3), LeaveCC),
107 COMPARE(and_(r2, r3, Operand(r4), SetCC),
109 COMPARE(and_(r3, r4, Operand(r5), LeaveCC, eq),
112 COMPARE(eor(r4, r5, Operand(r6, LSL, 0)),
114 COMPARE(eor(r4, r5, Operand(r7, LSL, 1), SetCC),
116 COMPARE(eor(r4, r5, Operand(r8, LSL, 2), LeaveCC, ne),
118 COMPARE(eor(r4, r5, Operand(r9, LSL, 3), SetCC, cs),
121 COMPARE(sub(r5, r6, Operand(r10, LSL, 31), LeaveCC, hs),
123 COMPARE(sub(r5, r6, Operand(r10, LSL, 30), SetCC, cc),
125 COMPARE(sub(r5, r6, Operand(r10, LSL, 24), LeaveCC, lo),
127 COMPARE(sub(r5, r6, Operand(r10, LSL, 16), SetCC, mi),
130 COMPARE(rsb(r6, r7, Operand(fp)),
132 COMPARE(rsb(r6, r7, Operand(fp, LSR, 1)),
134 COMPARE(rsb(r6, r7, Operand(fp, LSR, 0), SetCC),
136 COMPARE(rsb(r6, r7, Operand(fp, LSR, 31), LeaveCC, pl),
139 COMPARE(add(r7, r8, Operand(ip, ASR, 1)),
141 COMPARE(add(r7, r8, Operand(ip, ASR, 0)),
143 COMPARE(add(r7, r8, Operand(ip), SetCC),
145 COMPARE(add(r7, r8, Operand(ip, ASR, 31), SetCC, vs),
148 COMPARE(adc(r7, fp, Operand(ip, ASR, 5)),
150 COMPARE(adc(r4, ip, Operand(ip, ASR, 1), LeaveCC, vc),
152 COMPARE(adc(r5, sp, Operand(ip), SetCC),
154 COMPARE(adc(r8, lr, Operand(ip, ASR, 31), SetCC, vc),
157 COMPARE(sbc(r7, r1, Operand(ip, ROR, 1), LeaveCC, hi),
159 COMPARE(sbc(r7, r9, Operand(ip, ROR, 4)),
161 COMPARE(sbc(r7, r10, Operand(ip), SetCC),
163 COMPARE(sbc(r7, ip, Operand(ip, ROR, 31), SetCC, hi),
166 COMPARE(rsc(r7, r8, Operand(ip, LSL, r0)),
168 COMPARE(rsc(r7, r8, Operand(ip, LSL, r1)),
170 COMPARE(rsc(r7, r8, Operand(ip), SetCC),
172 COMPARE(rsc(r7, r8, Operand(ip, LSL, r3), SetCC, ls),
175 COMPARE(tst(r7, Operand(r5, ASR, ip), ge),
177 COMPARE(tst(r7, Operand(r6, ASR, sp)),
179 COMPARE(tst(r7, Operand(r7), ge),
181 COMPARE(tst(r7, Operand(r8, ASR, fp), ge),
184 COMPARE(teq(r7, Operand(r5, ROR, r0), lt),
186 COMPARE(teq(r7, Operand(r6, ROR, lr)),
188 COMPARE(teq(r7, Operand(r7), lt),
190 COMPARE(teq(r7, Operand(r8, ROR, r1)),
193 COMPARE(cmp(r7, Operand(r4)),
195 COMPARE(cmp(r7, Operand(r6, LSL, 1), gt),
197 COMPARE(cmp(r7, Operand(r8, LSR, 3), gt),
199 COMPARE(cmp(r7, Operand(r8, ASR, 19)),
202 COMPARE(cmn(r0, Operand(r4)),
204 COMPARE(cmn(r1, Operand(r6, ROR, 1)),
206 COMPARE(cmn(r2, Operand(r8)),
208 COMPARE(cmn(r3, Operand(fp), le),
211 COMPARE(orr(r7, r8, Operand(lr), LeaveCC, al),
213 COMPARE(orr(r7, r8, Operand(fp)),
215 COMPARE(orr(r7, r8, Operand(sp), SetCC),
217 COMPARE(orr(r7, r8, Operand(ip), SetCC, al),
220 COMPARE(mov(r0, Operand(r1), LeaveCC, eq),
222 COMPARE(mov(r0, Operand(r2)),
224 COMPARE(mov(r0, Operand(r3), SetCC),
226 COMPARE(mov(r0, Operand(r4), SetCC, pl),
229 COMPARE(bic(r0, lr, Operand(r1), LeaveCC, vs),
231 COMPARE(bic(r0, r9, Operand(r2), LeaveCC, vc),
233 COMPARE(bic(r0, r5, Operand(r3), SetCC),
235 COMPARE(bic(r0, r1, Operand(r4), SetCC, pl),
238 COMPARE(mvn(r10, Operand(r1)),
240 COMPARE(mvn(r9, Operand(r2)),
242 COMPARE(mvn(r0, Operand(r3), SetCC),
244 COMPARE(mvn(r5, Operand(r4), SetCC, cc),
249 COMPARE(mov(r3, Operand(-1), LeaveCC, al),
251 COMPARE(mov(r4, Operand(-2), SetCC, al),
253 COMPARE(mov(r5, Operand(0x0ffffff0), SetCC, ne),
255 COMPARE(mov(r6, Operand(-1), LeaveCC, ne),
259 COMPARE(mvn(r3, Operand(-1), LeaveCC, al),
261 COMPARE(mvn(r4, Operand(-2), SetCC, al),
263 COMPARE(mvn(r5, Operand(0x0ffffff0), SetCC, ne),
265 COMPARE(mvn(r6, Operand(-1), LeaveCC, ne),
270 COMPARE(mov(r5, Operand(0x01234), LeaveCC, ne),
273 COMPARE(eor(r5, r4, Operand(0x1234), LeaveCC, ne),
277 COMPARE(mov(r5, Operand(0x01234), SetCC, ne),
285 COMPARE(eor(r5, r4, Operand(0x1234), SetCC, ne),
288 COMPARE(movt(r5, 0x4321, ne),
290 COMPARE(movw(r5, 0xabcd, eq),
296 COMPARE(eor(r5, r4, Operand(0xffffff34), SetCC, ne),
300 COMPARE(and_(r3, r5, Operand(0xfc03ffff)),
302 COMPARE(bic(r3, r5, Operand(0xfc03ffff)),
306 COMPARE(add(r3, r5, Operand(-1024)),
308 COMPARE(sub(r3, r5, Operand(-1024)),
312 COMPARE(cmp(r3, Operand(-1024)),
314 COMPARE(cmn(r3, Operand(-1024)),
318 COMPARE(blx(ip),
320 COMPARE(bkpt(0),
322 COMPARE(bkpt(0xffff),
324 COMPARE(clz(r6, r7),
334 COMPARE(and_(r0, r1, Operand(0x00000000)),
336 COMPARE(and_(r1, r2, Operand(0x00000001), LeaveCC),
338 COMPARE(and_(r2, r3, Operand(0x00000010), SetCC),
340 COMPARE(and_(r3, r4, Operand(0x00000100), LeaveCC, eq),
342 COMPARE(and_(r4, r5, Operand(0x00001000), SetCC, ne),
345 COMPARE(eor(r4, r5, Operand(0x00001000)),
347 COMPARE(eor(r4, r4, Operand(0x00010000), LeaveCC),
349 COMPARE(eor(r4, r3, Operand(0x00100000), SetCC),
351 COMPARE(eor(r4, r2, Operand(0x01000000), LeaveCC, cs),
353 COMPARE(eor(r4, r1, Operand(0x10000000), SetCC, cc),
364 COMPARE(ubfx(r0, r1, 5, 10),
366 COMPARE(ubfx(r1, r0, 5, 10),
368 COMPARE(ubfx(r0, r1, 31, 1),
370 COMPARE(ubfx(r1, r0, 31, 1),
373 COMPARE(sbfx(r0, r1, 5, 10),
375 COMPARE(sbfx(r1, r0, 5, 10),
377 COMPARE(sbfx(r0, r1, 31, 1),
379 COMPARE(sbfx(r1, r0, 31, 1),
382 COMPARE(bfc(r0, 5, 10),
384 COMPARE(bfc(r1, 5, 10),
386 COMPARE(bfc(r0, 31, 1),
388 COMPARE(bfc(r1, 31, 1),
391 COMPARE(bfi(r0, r1, 5, 10),
393 COMPARE(bfi(r1, r0, 5, 10),
395 COMPARE(bfi(r0, r1, 31, 1),
397 COMPARE(bfi(r1, r0, 31, 1),
400 COMPARE(usat(r0, 1, Operand(r1)),
402 COMPARE(usat(r2, 7, Operand(lr)),
404 COMPARE(usat(r3, 31, Operand(r4, LSL, 31)),
406 COMPARE(usat(r8, 0, Operand(r5, ASR, 17)),
409 COMPARE(pkhbt(r3, r4, Operand(r5, LSL, 17)),
411 COMPARE(pkhtb(r3, r4, Operand(r5, ASR, 17)),
413 COMPARE(uxtb(r3, Operand(r4, ROR, 8)),
415 COMPARE(uxtab(r3, r4, Operand(r5, ROR, 8)),
417 COMPARE(uxtb16(r3, Operand(r4, ROR, 8)),
431 COMPARE(vmov(d0, r2, r3),
433 COMPARE(vmov(r2, r3, d0),
435 COMPARE(vmov(d0, d1),
437 COMPARE(vmov(d3, d3, eq),
440 COMPARE(vmov(s0, s31),
442 COMPARE(vmov(s31, s0),
444 COMPARE(vmov(r0, s0),
446 COMPARE(vmov(r10, s31),
448 COMPARE(vmov(s0, r0),
450 COMPARE(vmov(s31, r10),
453 COMPARE(vabs(d0, d1),
455 COMPARE(vabs(d3, d4, mi),
458 COMPARE(vneg(d0, d1),
460 COMPARE(vneg(d3, d4, mi),
463 COMPARE(vadd(d0, d1, d2),
465 COMPARE(vadd(d3, d4, d5, mi),
468 COMPARE(vsub(d0, d1, d2),
470 COMPARE(vsub(d3, d4, d5, ne),
473 COMPARE(vmul(d2, d1, d0),
475 COMPARE(vmul(d6, d4, d5, cc),
478 COMPARE(vdiv(d2, d2, d2),
480 COMPARE(vdiv(d6, d7, d7, hi),
483 COMPARE(vcmp(d0, d1),
485 COMPARE(vcmp(d0, 0.0),
488 COMPARE(vsqrt(d0, d0),
490 COMPARE(vsqrt(d2, d3, ne),
493 COMPARE(vmov(d0, 1.0),
495 COMPARE(vmov(d2, -13.0),
498 COMPARE(vmov(d0, VmovIndexLo, r0),
500 COMPARE(vmov(d0, VmovIndexHi, r0),
503 COMPARE(vmov(r2, VmovIndexLo, d15),
505 COMPARE(vmov(r3, VmovIndexHi, d14),
508 COMPARE(vldr(s0, r0, 0),
510 COMPARE(vldr(s1, r1, 4),
512 COMPARE(vldr(s15, r4, 16),
514 COMPARE(vldr(s16, r5, 20),
516 COMPARE(vldr(s31, r10, 1020),
519 COMPARE(vstr(s0, r0, 0),
521 COMPARE(vstr(s1, r1, 4),
523 COMPARE(vstr(s15, r8, 8),
525 COMPARE(vstr(s16, r9, 12),
527 COMPARE(vstr(s31, r10, 1020),
530 COMPARE(vldr(d0, r0, 0),
532 COMPARE(vldr(d1, r1, 4),
534 COMPARE(vldr(d15, r10, 1020),
536 COMPARE(vstr(d0, r0, 0),
538 COMPARE(vstr(d1, r1, 4),
540 COMPARE(vstr(d15, r10, 1020),
543 COMPARE(vmsr(r5),
545 COMPARE(vmsr(r10, pl),
547 COMPARE(vmsr(pc),
549 COMPARE(vmrs(r5),
551 COMPARE(vmrs(r10, ge),
553 COMPARE(vmrs(pc),
556 COMPARE(vstm(ia, r0, d1, d3),
558 COMPARE(vldm(ia, r1, d2, d5),
560 COMPARE(vstm(ia, r2, d0, d15),
562 COMPARE(vldm(ia, r3, d0, d15),
564 COMPARE(vstm(ia, r4, s1, s3),
566 COMPARE(vldm(ia, r5, s2, s5),
568 COMPARE(vstm(ia, r6, s0, s31),
570 COMPARE(vldm(ia, r7, s0, s31),
573 COMPARE(vmla(d2, d1, d0),
575 COMPARE(vmla(d6, d4, d5, cc),
578 COMPARE(vmls(d2, d1, d0),
580 COMPARE(vmls(d6, d4, d5, cc),
583 COMPARE(vcvt_u32_f64(s0, d0),
585 COMPARE(vcvt_s32_f64(s0, d0),
587 COMPARE(vcvt_f64_u32(d0, s1),
589 COMPARE(vcvt_f64_s32(d0, s1),
591 COMPARE(vcvt_f32_s32(s0, s2),
593 COMPARE(vcvt_f64_s32(d0, 1),
597 COMPARE(vmov(d3, d27),
599 COMPARE(vmov(d18, d7),
601 COMPARE(vmov(d18, r2, r3),
603 COMPARE(vmov(r2, r3, d18),
605 COMPARE(vmov(d20, d31),
608 COMPARE(vabs(d16, d31),
611 COMPARE(vneg(d16, d31),
614 COMPARE(vadd(d16, d17, d18),
617 COMPARE(vsub(d16, d17, d18),
620 COMPARE(vmul(d16, d17, d18),
623 COMPARE(vdiv(d16, d17, d18),
626 COMPARE(vcmp(d16, d17),
628 COMPARE(vcmp(d16, 0.0),
631 COMPARE(vsqrt(d16, d17),
634 COMPARE(vmov(d30, 16.0),
637 COMPARE(vmov(d31, VmovIndexLo, r7),
639 COMPARE(vmov(d31, VmovIndexHi, r7),
642 COMPARE(vldr(d25, r0, 0),
644 COMPARE(vldr(d26, r1, 4),
646 COMPARE(vldr(d31, r10, 1020),
649 COMPARE(vstr(d16, r0, 0),
651 COMPARE(vstr(d17, r1, 4),
653 COMPARE(vstr(d31, r10, 1020),
656 COMPARE(vstm(ia, r0, d16, d31),
658 COMPARE(vldm(ia, r3, d16, d31),
660 COMPARE(vstm(ia, r0, d23, d27),
662 COMPARE(vldm(ia, r3, d23, d27),
665 COMPARE(vmla(d16, d17, d18),
668 COMPARE(vcvt_u32_f64(s0, d16),
670 COMPARE(vcvt_s32_f64(s0, d16),
672 COMPARE(vcvt_f64_u32(d16, s1),
686 COMPARE(vld1(Neon8, NeonListOperand(d4, 4), NeonMemOperand(r1)),
688 COMPARE(vst1(Neon16, NeonListOperand(d17, 4), NeonMemOperand(r9)),
690 COMPARE(vmovl(NeonU8, q4, d2),
701 COMPARE(ldrb(r0, MemOperand(r1)),
703 COMPARE(ldrb(r2, MemOperand(r3, 42)),
705 COMPARE(ldrb(r4, MemOperand(r5, -42)),
707 COMPARE(ldrb(r6, MemOperand(r7, 42, PostIndex)),
709 COMPARE(ldrb(r8, MemOperand(r9, -42, PostIndex)),
711 COMPARE(ldrb(r10, MemOperand(fp, 42, PreIndex)),
713 COMPARE(ldrb(ip, MemOperand(sp, -42, PreIndex)),
715 COMPARE(ldrb(r0, MemOperand(r1, r2)),
717 COMPARE(ldrb(r0, MemOperand(r1, r2, NegOffset)),
719 COMPARE(ldrb(r0, MemOperand(r1, r2, PostIndex)),
721 COMPARE(ldrb(r0, MemOperand(r1, r2, NegPostIndex)),
723 COMPARE(ldrb(r0, MemOperand(r1, r2, PreIndex)),
725 COMPARE(ldrb(r0, MemOperand(r1, r2, NegPreIndex)),
728 COMPARE(strb(r0, MemOperand(r1)),
730 COMPARE(strb(r2, MemOperand(r3, 42)),
732 COMPARE(strb(r4, MemOperand(r5, -42)),
734 COMPARE(strb(r6, MemOperand(r7, 42, PostIndex)),
736 COMPARE(strb(r8, MemOperand(r9, -42, PostIndex)),
738 COMPARE(strb(r10, MemOperand(fp, 42, PreIndex)),
740 COMPARE(strb(ip, MemOperand(sp, -42, PreIndex)),
742 COMPARE(strb(r0, MemOperand(r1, r2)),
744 COMPARE(strb(r0, MemOperand(r1, r2, NegOffset)),
746 COMPARE(strb(r0, MemOperand(r1, r2, PostIndex)),
748 COMPARE(strb(r0, MemOperand(r1, r2, NegPostIndex)),
750 COMPARE(strb(r0, MemOperand(r1, r2, PreIndex)),
752 COMPARE(strb(r0, MemOperand(r1, r2, NegPreIndex)),
755 COMPARE(ldrh(r0, MemOperand(r1)),
757 COMPARE(ldrh(r2, MemOperand(r3, 42)),
759 COMPARE(ldrh(r4, MemOperand(r5, -42)),
761 COMPARE(ldrh(r6, MemOperand(r7, 42, PostIndex)),
763 COMPARE(ldrh(r8, MemOperand(r9, -42, PostIndex)),
765 COMPARE(ldrh(r10, MemOperand(fp, 42, PreIndex)),
767 COMPARE(ldrh(ip, MemOperand(sp, -42, PreIndex)),
769 COMPARE(ldrh(r0, MemOperand(r1, r2)),
771 COMPARE(ldrh(r0, MemOperand(r1, r2, NegOffset)),
773 COMPARE(ldrh(r0, MemOperand(r1, r2, PostIndex)),
775 COMPARE(ldrh(r0, MemOperand(r1, r2, NegPostIndex)),
777 COMPARE(ldrh(r0, MemOperand(r1, r2, PreIndex)),
779 COMPARE(ldrh(r0, MemOperand(r1, r2, NegPreIndex)),
782 COMPARE(strh(r0, MemOperand(r1)),
784 COMPARE(strh(r2, MemOperand(r3, 42)),
786 COMPARE(strh(r4, MemOperand(r5, -42)),
788 COMPARE(strh(r6, MemOperand(r7, 42, PostIndex)),
790 COMPARE(strh(r8, MemOperand(r9, -42, PostIndex)),
792 COMPARE(strh(r10, MemOperand(fp, 42, PreIndex)),
794 COMPARE(strh(ip, MemOperand(sp, -42, PreIndex)),
796 COMPARE(strh(r0, MemOperand(r1, r2)),
798 COMPARE(strh(r0, MemOperand(r1, r2, NegOffset)),
800 COMPARE(strh(r0, MemOperand(r1, r2, PostIndex)),
802 COMPARE(strh(r0, MemOperand(r1, r2, NegPostIndex)),
804 COMPARE(strh(r0, MemOperand(r1, r2, PreIndex)),
806 COMPARE(strh(r0, MemOperand(r1, r2, NegPreIndex)),
809 COMPARE(ldr(r0, MemOperand(r1)),
811 COMPARE(ldr(r2, MemOperand(r3, 42)),
813 COMPARE(ldr(r4, MemOperand(r5, -42)),
815 COMPARE(ldr(r6, MemOperand(r7, 42, PostIndex)),
817 COMPARE(ldr(r8, MemOperand(r9, -42, PostIndex)),
819 COMPARE(ldr(r10, MemOperand(fp, 42, PreIndex)),
821 COMPARE(ldr(ip, MemOperand(sp, -42, PreIndex)),
823 COMPARE(ldr(r0, MemOperand(r1, r2)),
825 COMPARE(ldr(r0, MemOperand(r1, r2, NegOffset)),
827 COMPARE(ldr(r0, MemOperand(r1, r2, PostIndex)),
829 COMPARE(ldr(r0, MemOperand(r1, r2, NegPostIndex)),
831 COMPARE(ldr(r0, MemOperand(r1, r2, PreIndex)),
833 COMPARE(ldr(r0, MemOperand(r1, r2, NegPreIndex)),
836 COMPARE(str(r0, MemOperand(r1)),
838 COMPARE(str(r2, MemOperand(r3, 42)),
840 COMPARE(str(r4, MemOperand(r5, -42)),
842 COMPARE(str(r6, MemOperand(r7, 42, PostIndex)),
844 COMPARE(str(r8, MemOperand(r9, -42, PostIndex)),
846 COMPARE(str(r10, MemOperand(fp, 42, PreIndex)),
848 COMPARE(str(ip, MemOperand(sp, -42, PreIndex)),
850 COMPARE(str(r0, MemOperand(r1, r2)),
852 COMPARE(str(r0, MemOperand(r1, r2, NegOffset)),
854 COMPARE(str(r0, MemOperand(r1, r2, PostIndex)),
856 COMPARE(str(r0, MemOperand(r1, r2, NegPostIndex)),
858 COMPARE(str(r0, MemOperand(r1, r2, PreIndex)),
860 COMPARE(str(r0, MemOperand(r1, r2, NegPreIndex)),
865 COMPARE(ldrd(r0, r1, MemOperand(r1)),
867 COMPARE(ldrd(r2, r3, MemOperand(r3, 127)),
869 COMPARE(ldrd(r4, r5, MemOperand(r5, -127)),
871 COMPARE(ldrd(r6, r7, MemOperand(r7, 127, PostIndex)),
873 COMPARE(ldrd(r8, r9, MemOperand(r9, -127, PostIndex)),
875 COMPARE(ldrd(r10, fp, MemOperand(fp, 127, PreIndex)),
877 COMPARE(ldrd(ip, sp, MemOperand(sp, -127, PreIndex)),
880 COMPARE(strd(r0, r1, MemOperand(r1)),
882 COMPARE(strd(r2, r3, MemOperand(r3, 127)),
884 COMPARE(strd(r4, r5, MemOperand(r5, -127)),
886 COMPARE(strd(r6, r7, MemOperand(r7, 127, PostIndex)),
888 COMPARE(strd(r8, r9, MemOperand(r9, -127, PostIndex)),
890 COMPARE(strd(r10, fp, MemOperand(fp, 127, PreIndex)),
892 COMPARE(strd(ip, sp, MemOperand(sp, -127, PreIndex)),
895 COMPARE(pld(MemOperand(r1, 0)),
897 COMPARE(pld(MemOperand(r2, 128)),