Home | History | Annotate | Download | only in cctest

Lines Matching full:compare

87 #define COMPARE(asm_, compare_string) \
96 // Verify that all invocations of the COMPARE macro passed successfully.
107 COMPARE(and_(r0, r1, Operand(r2)),
109 COMPARE(and_(r1, r2, Operand(r3), LeaveCC),
111 COMPARE(and_(r2, r3, Operand(r4), SetCC),
113 COMPARE(and_(r3, r4, Operand(r5), LeaveCC, eq),
116 COMPARE(eor(r4, r5, Operand(r6, LSL, 0)),
118 COMPARE(eor(r4, r5, Operand(r7, LSL, 1), SetCC),
120 COMPARE(eor(r4, r5, Operand(r8, LSL, 2), LeaveCC, ne),
122 COMPARE(eor(r4, r5, Operand(r9, LSL, 3), SetCC, cs),
125 COMPARE(sub(r5, r6, Operand(r10, LSL, 31), LeaveCC, hs),
127 COMPARE(sub(r5, r6, Operand(r10, LSL, 30), SetCC, cc),
129 COMPARE(sub(r5, r6, Operand(r10, LSL, 24), LeaveCC, lo),
131 COMPARE(sub(r5, r6, Operand(r10, LSL, 16), SetCC, mi),
134 COMPARE(rsb(r6, r7, Operand(fp)),
136 COMPARE(rsb(r6, r7, Operand(fp, LSR, 1)),
138 COMPARE(rsb(r6, r7, Operand(fp, LSR, 0), SetCC),
140 COMPARE(rsb(r6, r7, Operand(fp, LSR, 31), LeaveCC, pl),
143 COMPARE(add(r7, r8, Operand(ip, ASR, 1)),
145 COMPARE(add(r7, r8, Operand(ip, ASR, 0)),
147 COMPARE(add(r7, r8, Operand(ip), SetCC),
149 COMPARE(add(r7, r8, Operand(ip, ASR, 31), SetCC, vs),
152 COMPARE(adc(r7, fp, Operand(ip, ASR, 5)),
154 COMPARE(adc(r4, ip, Operand(ip, ASR, 1), LeaveCC, vc),
156 COMPARE(adc(r5, sp, Operand(ip), SetCC),
158 COMPARE(adc(r8, lr, Operand(ip, ASR, 31), SetCC, vc),
161 COMPARE(sbc(r7, r1, Operand(ip, ROR, 1), LeaveCC, hi),
163 COMPARE(sbc(r7, r9, Operand(ip, ROR, 4)),
165 COMPARE(sbc(r7, r10, Operand(ip), SetCC),
167 COMPARE(sbc(r7, ip, Operand(ip, ROR, 31), SetCC, hi),
170 COMPARE(rsc(r7, r8, Operand(ip, LSL, r0)),
172 COMPARE(rsc(r7, r8, Operand(ip, LSL, r1)),
174 COMPARE(rsc(r7, r8, Operand(ip), SetCC),
176 COMPARE(rsc(r7, r8, Operand(ip, LSL, r3), SetCC, ls),
179 COMPARE(tst(r7, Operand(r5, ASR, ip), ge),
181 COMPARE(tst(r7, Operand(r6, ASR, sp)),
183 COMPARE(tst(r7, Operand(r7), ge),
185 COMPARE(tst(r7, Operand(r8, ASR, fp), ge),
188 COMPARE(teq(r7, Operand(r5, ROR, r0), lt),
190 COMPARE(teq(r7, Operand(r6, ROR, lr)),
192 COMPARE(teq(r7, Operand(r7), lt),
194 COMPARE(teq(r7, Operand(r8, ROR, r1)),
197 COMPARE(cmp(r7, Operand(r4)),
199 COMPARE(cmp(r7, Operand(r6, LSL, 1), gt),
201 COMPARE(cmp(r7, Operand(r8, LSR, 3), gt),
203 COMPARE(cmp(r7, Operand(r8, ASR, 19)),
206 COMPARE(cmn(r0, Operand(r4)),
208 COMPARE(cmn(r1, Operand(r6, ROR, 1)),
210 COMPARE(cmn(r2, Operand(r8)),
212 COMPARE(cmn(r3, Operand(fp), le),
215 COMPARE(orr(r7, r8, Operand(lr), LeaveCC, al),
217 COMPARE(orr(r7, r8, Operand(fp)),
219 COMPARE(orr(r7, r8, Operand(sp), SetCC),
221 COMPARE(orr(r7, r8, Operand(ip), SetCC, al),
224 COMPARE(mov(r0, Operand(r1), LeaveCC, eq),
226 COMPARE(mov(r0, Operand(r2)),
228 COMPARE(mov(r0, Operand(r3), SetCC),
230 COMPARE(mov(r0, Operand(r4), SetCC, pl),
233 COMPARE(bic(r0, lr, Operand(r1), LeaveCC, vs),
235 COMPARE(bic(r0, r9, Operand(r2), LeaveCC, vc),
237 COMPARE(bic(r0, r5, Operand(r3), SetCC),
239 COMPARE(bic(r0, r1, Operand(r4), SetCC, pl),
242 COMPARE(mvn(r10, Operand(r1)),
244 COMPARE(mvn(r9, Operand(r2)),
246 COMPARE(mvn(r0, Operand(r3), SetCC),
248 COMPARE(mvn(r5, Operand(r4), SetCC, cc),
253 COMPARE(mov(r3, Operand(-1), LeaveCC, al),
255 COMPARE(mov(r4, Operand(-2), SetCC, al),
257 COMPARE(mov(r5, Operand(0x0ffffff0), SetCC, ne),
259 COMPARE(mov(r6, Operand(-1), LeaveCC, ne),
263 COMPARE(mvn(r3, Operand(-1), LeaveCC, al),
265 COMPARE(mvn(r4, Operand(-2), SetCC, al),
267 COMPARE(mvn(r5, Operand(0x0ffffff0), SetCC, ne),
269 COMPARE(mvn(r6, Operand(-1), LeaveCC, ne),
274 COMPARE(mov(r5, Operand(0x01234), LeaveCC, ne),
277 COMPARE(eor(r5, r4, Operand(0x1234), LeaveCC, ne),
281 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)),
420 COMPARE(vmov(d0, d1),
422 COMPARE(vmov(d3, d3, eq),
425 COMPARE(vmov(s0, s31),
427 COMPARE(vmov(s31, s0),
429 COMPARE(vmov(r0, s0),
431 COMPARE(vmov(r10, s31),
433 COMPARE(vmov(s0, r0),
435 COMPARE(vmov(s31, r10),
438 COMPARE(vabs(d0, d1),
440 COMPARE(vabs(d3, d4, mi),
443 COMPARE(vneg(d0, d1),
445 COMPARE(vneg(d3, d4, mi),
448 COMPARE(vadd(d0, d1, d2),
450 COMPARE(vadd(d3, d4, d5, mi),
453 COMPARE(vsub(d0, d1, d2),
455 COMPARE(vsub(d3, d4, d5, ne),
458 COMPARE(vmul(d2, d1, d0),
460 COMPARE(vmul(d6, d4, d5, cc),
463 COMPARE(vdiv(d2, d2, d2),
465 COMPARE(vdiv(d6, d7, d7, hi),
468 COMPARE(vsqrt(d0, d0),
470 COMPARE(vsqrt(d2, d3, ne),
473 COMPARE(vmov(d0, 1.0),
475 COMPARE(vmov(d2, -13.0),
478 COMPARE(vldr(s0, r0, 0),
480 COMPARE(vldr(s1, r1, 4),
482 COMPARE(vldr(s15, r4, 16),
484 COMPARE(vldr(s16, r5, 20),
486 COMPARE(vldr(s31, r10, 1020),
489 COMPARE(vstr(s0, r0, 0),
491 COMPARE(vstr(s1, r1, 4),
493 COMPARE(vstr(s15, r8, 8),
495 COMPARE(vstr(s16, r9, 12),
497 COMPARE(vstr(s31, r10, 1020),
500 COMPARE(vldr(d0, r0, 0),
502 COMPARE(vldr(d1, r1, 4),
504 COMPARE(vldr(d15, r10, 1020),
506 COMPARE(vstr(d0, r0, 0),
508 COMPARE(vstr(d1, r1, 4),
510 COMPARE(vstr(d15, r10, 1020),
513 COMPARE(vmsr(r5),
515 COMPARE(vmsr(r10, pl),
517 COMPARE(vmsr(pc),
519 COMPARE(vmrs(r5),
521 COMPARE(vmrs(r10, ge),
523 COMPARE(vmrs(pc),
526 COMPARE(vstm(ia, r0, d1, d3),
528 COMPARE(vldm(ia, r1, d2, d5),
530 COMPARE(vstm(ia, r2, d0, d15),
532 COMPARE(vldm(ia, r3, d0, d15),
534 COMPARE(vstm(ia, r4, s1, s3),
536 COMPARE(vldm(ia, r5, s2, s5),
538 COMPARE(vstm(ia, r6, s0, s31),
540 COMPARE(vldm(ia, r7, s0, s31),
551 COMPARE(ldrb(r0, MemOperand(r1)),
553 COMPARE(ldrb(r2, MemOperand(r3, 42)),
555 COMPARE(ldrb(r4, MemOperand(r5, -42)),
557 COMPARE(ldrb(r6, MemOperand(r7, 42, PostIndex)),
559 COMPARE(ldrb(r8, MemOperand(r9, -42, PostIndex)),
561 COMPARE(ldrb(r10, MemOperand(fp, 42, PreIndex)),
563 COMPARE(ldrb(ip, MemOperand(sp, -42, PreIndex)),
565 COMPARE(ldrb(r0, MemOperand(r1, r2)),
567 COMPARE(ldrb(r0, MemOperand(r1, r2, NegOffset)),
569 COMPARE(ldrb(r0, MemOperand(r1, r2, PostIndex)),
571 COMPARE(ldrb(r0, MemOperand(r1, r2, NegPostIndex)),
573 COMPARE(ldrb(r0, MemOperand(r1, r2, PreIndex)),
575 COMPARE(ldrb(r0, MemOperand(r1, r2, NegPreIndex)),
578 COMPARE(strb(r0, MemOperand(r1)),
580 COMPARE(strb(r2, MemOperand(r3, 42)),
582 COMPARE(strb(r4, MemOperand(r5, -42)),
584 COMPARE(strb(r6, MemOperand(r7, 42, PostIndex)),
586 COMPARE(strb(r8, MemOperand(r9, -42, PostIndex)),
588 COMPARE(strb(r10, MemOperand(fp, 42, PreIndex)),
590 COMPARE(strb(ip, MemOperand(sp, -42, PreIndex)),
592 COMPARE(strb(r0, MemOperand(r1, r2)),
594 COMPARE(strb(r0, MemOperand(r1, r2, NegOffset)),
596 COMPARE(strb(r0, MemOperand(r1, r2, PostIndex)),
598 COMPARE(strb(r0, MemOperand(r1, r2, NegPostIndex)),
600 COMPARE(strb(r0, MemOperand(r1, r2, PreIndex)),
602 COMPARE(strb(r0, MemOperand(r1, r2, NegPreIndex)),
605 COMPARE(ldrh(r0, MemOperand(r1)),
607 COMPARE(ldrh(r2, MemOperand(r3, 42)),
609 COMPARE(ldrh(r4, MemOperand(r5, -42)),
611 COMPARE(ldrh(r6, MemOperand(r7, 42, PostIndex)),
613 COMPARE(ldrh(r8, MemOperand(r9, -42, PostIndex)),
615 COMPARE(ldrh(r10, MemOperand(fp, 42, PreIndex)),
617 COMPARE(ldrh(ip, MemOperand(sp, -42, PreIndex)),
619 COMPARE(ldrh(r0, MemOperand(r1, r2)),
621 COMPARE(ldrh(r0, MemOperand(r1, r2, NegOffset)),
623 COMPARE(ldrh(r0, MemOperand(r1, r2, PostIndex)),
625 COMPARE(ldrh(r0, MemOperand(r1, r2, NegPostIndex)),
627 COMPARE(ldrh(r0, MemOperand(r1, r2, PreIndex)),
629 COMPARE(ldrh(r0, MemOperand(r1, r2, NegPreIndex)),
632 COMPARE(strh(r0, MemOperand(r1)),
634 COMPARE(strh(r2, MemOperand(r3, 42)),
636 COMPARE(strh(r4, MemOperand(r5, -42)),
638 COMPARE(strh(r6, MemOperand(r7, 42, PostIndex)),
640 COMPARE(strh(r8, MemOperand(r9, -42, PostIndex)),
642 COMPARE(strh(r10, MemOperand(fp, 42, PreIndex)),
644 COMPARE(strh(ip, MemOperand(sp, -42, PreIndex)),
646 COMPARE(strh(r0, MemOperand(r1, r2)),
648 COMPARE(strh(r0, MemOperand(r1, r2, NegOffset)),
650 COMPARE(strh(r0, MemOperand(r1, r2, PostIndex)),
652 COMPARE(strh(r0, MemOperand(r1, r2, NegPostIndex)),
654 COMPARE(strh(r0, MemOperand(r1, r2, PreIndex)),
656 COMPARE(strh(r0, MemOperand(r1, r2, NegPreIndex)),
659 COMPARE(ldr(r0, MemOperand(r1)),
661 COMPARE(ldr(r2, MemOperand(r3, 42)),
663 COMPARE(ldr(r4, MemOperand(r5, -42)),
665 COMPARE(ldr(r6, MemOperand(r7, 42, PostIndex)),
667 COMPARE(ldr(r8, MemOperand(r9, -42, PostIndex)),
669 COMPARE(ldr(r10, MemOperand(fp, 42, PreIndex)),
671 COMPARE(ldr(ip, MemOperand(sp, -42, PreIndex)),
673 COMPARE(ldr(r0, MemOperand(r1, r2)),
675 COMPARE(ldr(r0, MemOperand(r1, r2, NegOffset)),
677 COMPARE(ldr(r0, MemOperand(r1, r2, PostIndex)),
679 COMPARE(ldr(r0, MemOperand(r1, r2, NegPostIndex)),
681 COMPARE(ldr(r0, MemOperand(r1, r2, PreIndex)),
683 COMPARE(ldr(r0, MemOperand(r1, r2, NegPreIndex)),
686 COMPARE(str(r0, MemOperand(r1)),
688 COMPARE(str(r2, MemOperand(r3, 42)),
690 COMPARE(str(r4, MemOperand(r5, -42)),
692 COMPARE(str(r6, MemOperand(r7, 42, PostIndex)),
694 COMPARE(str(r8, MemOperand(r9, -42, PostIndex)),
696 COMPARE(str(r10, MemOperand(fp, 42, PreIndex)),
698 COMPARE(str(ip, MemOperand(sp, -42, PreIndex)),
700 COMPARE(str(r0, MemOperand(r1, r2)),
702 COMPARE(str(r0, MemOperand(r1, r2, NegOffset)),
704 COMPARE(str(r0, MemOperand(r1, r2, PostIndex)),
706 COMPARE(str(r0, MemOperand(r1, r2, NegPostIndex)),
708 COMPARE(str(r0, MemOperand(r1, r2, PreIndex)),
710 COMPARE(str(r0, MemOperand(r1, r2, NegPreIndex)),
715 COMPARE(ldrd(r0, r1, MemOperand(r1)),
717 COMPARE(ldrd(r2, r3, MemOperand(r3, 127)),
719 COMPARE(ldrd(r4, r5, MemOperand(r5, -127)),
721 COMPARE(ldrd(r6, r7, MemOperand(r7, 127, PostIndex)),
723 COMPARE(ldrd(r8, r9, MemOperand(r9, -127, PostIndex)),
725 COMPARE(ldrd(r10, fp, MemOperand(fp, 127, PreIndex)),
727 COMPARE(ldrd(ip, sp, MemOperand(sp, -127, PreIndex)),
730 COMPARE(strd(r0, r1, MemOperand(r1)),
732 COMPARE(strd(r2, r3, MemOperand(r3, 127)),
734 COMPARE(strd(r4, r5, MemOperand(r5, -127)),
736 COMPARE(strd(r6, r7, MemOperand(r7, 127, PostIndex)),
738 COMPARE(strd(r8, r9, MemOperand(r9, -127, PostIndex)),
740 COMPARE(strd(r10, fp, MemOperand(fp, 127, PreIndex)),
742 COMPARE(strd(ip, sp, MemOperand(sp, -127, PreIndex)),