Home | History | Annotate | Download | only in out

Lines Matching defs:vsrc1

557         vsrc1 = INST_B(inst);                                               \
558 ILOGV("|%s v%d,v%d", (_opname), vdst, vsrc1); \
560 GET_REGISTER##_fromtype(vsrc1)); \
571 vsrc1 = INST_B(inst); \
572 ILOGV("|%s v%d,v%d", (_opname), vdst, vsrc1); \
573 val = GET_REGISTER##_fromrtype(vsrc1); \
592 vsrc1 = INST_B(inst); \
593 ILOGV("|int-to-%s v%d,v%d", (_opname), vdst, vsrc1); \
594 SET_REGISTER(vdst, (_type) GET_REGISTER(vsrc1)); \
606 vsrc1 = regs & 0xff; \
608 ILOGV("|cmp%s v%d,v%d,v%d", (_opname), vdst, vsrc1, vsrc2); \
609 val1 = GET_REGISTER##_type(vsrc1); \
626 vsrc1 = INST_A(inst); \
628 if ((s4) GET_REGISTER(vsrc1) _cmp (s4) GET_REGISTER(vsrc2)) { \
630 ILOGV("|if-%s v%d,v%d,+0x%04x", (_opname), vsrc1, vsrc2, \
637 ILOGV("|if-%s v%d,v%d,-", (_opname), vsrc1, vsrc2); \
643 vsrc1 = INST_AA(inst); \
644 if ((s4) GET_REGISTER(vsrc1) _cmp 0) { \
646 ILOGV("|if-%s v%d,+0x%04x", (_opname), vsrc1, branchOffset); \
652 ILOGV("|if-%s v%d,-", (_opname), vsrc1); \
659 vsrc1 = INST_B(inst); \
660 ILOGV("|%s v%d,v%d", (_opname), vdst, vsrc1); \
661 SET_REGISTER##_type(vdst, _pfx GET_REGISTER##_type(vsrc1) _sfx); \
670 vsrc1 = srcRegs & 0xff; \
672 ILOGV("|%s-int v%d,v%d", (_opname), vdst, vsrc1); \
675 firstVal = GET_REGISTER(vsrc1); \
695 (s4) GET_REGISTER(vsrc1) _op (s4) GET_REGISTER(vsrc2)); \
706 vsrc1 = srcRegs & 0xff; \
708 ILOGV("|%s-int v%d,v%d", (_opname), vdst, vsrc1); \
710 _cast GET_REGISTER(vsrc1) _op (GET_REGISTER(vsrc2) & 0x1f)); \
717 vsrc1 = INST_B(inst); \
720 (_opname), vdst, vsrc1, vsrc2); \
723 firstVal = GET_REGISTER(vsrc1); \
742 SET_REGISTER(vdst, GET_REGISTER(vsrc1) _op (s2) vsrc2); \
752 vsrc1 = litInfo & 0xff; \
755 (_opname), vdst, vsrc1, vsrc2); \
758 firstVal = GET_REGISTER(vsrc1); \
776 (s4) GET_REGISTER(vsrc1) _op (s1) vsrc2); \
787 vsrc1 = litInfo & 0xff; \
790 (_opname), vdst, vsrc1, vsrc2); \
792 _cast GET_REGISTER(vsrc1) _op (vsrc2 & 0x1f)); \
799 vsrc1 = INST_B(inst); \
800 ILOGV("|%s-int-2addr v%d,v%d", (_opname), vdst, vsrc1); \
804 secondVal = GET_REGISTER(vsrc1); \
822 (s4) GET_REGISTER(vdst) _op (s4) GET_REGISTER(vsrc1)); \
829 vsrc1 = INST_B(inst); \
830 ILOGV("|%s-int-2addr v%d,v%d", (_opname), vdst, vsrc1); \
832 _cast GET_REGISTER(vdst) _op (GET_REGISTER(vsrc1) & 0x1f)); \
841 vsrc1 = srcRegs & 0xff; \
843 ILOGV("|%s-long v%d,v%d,v%d", (_opname), vdst, vsrc1, vsrc2); \
846 firstVal = GET_REGISTER_WIDE(vsrc1); \
867 (s8) GET_REGISTER_WIDE(vsrc1) _op (s8) GET_REGISTER_WIDE(vsrc2)); \
878 vsrc1 = srcRegs & 0xff; \
880 ILOGV("|%s-long v%d,v%d,v%d", (_opname), vdst, vsrc1, vsrc2); \
882 _cast GET_REGISTER_WIDE(vsrc1) _op (GET_REGISTER(vsrc2) & 0x3f)); \
889 vsrc1 = INST_B(inst); \
890 ILOGV("|%s-long-2addr v%d,v%d", (_opname), vdst, vsrc1); \
894 secondVal = GET_REGISTER_WIDE(vsrc1); \
914 (s8) GET_REGISTER_WIDE(vdst) _op (s8)GET_REGISTER_WIDE(vsrc1));\
921 vsrc1 = INST_B(inst); \
922 ILOGV("|%s-long-2addr v%d,v%d", (_opname), vdst, vsrc1); \
924 _cast GET_REGISTER_WIDE(vdst) _op (GET_REGISTER(vsrc1) & 0x3f)); \
933 vsrc1 = srcRegs & 0xff; \
935 ILOGV("|%s-float v%d,v%d,v%d", (_opname), vdst, vsrc1, vsrc2); \
937 GET_REGISTER_FLOAT(vsrc1) _op GET_REGISTER_FLOAT(vsrc2)); \
947 vsrc1 = srcRegs & 0xff; \
949 ILOGV("|%s-double v%d,v%d,v%d", (_opname), vdst, vsrc1, vsrc2); \
951 GET_REGISTER_DOUBLE(vsrc1) _op GET_REGISTER_DOUBLE(vsrc2)); \
958 vsrc1 = INST_B(inst); \
959 ILOGV("|%s-float-2addr v%d,v%d", (_opname), vdst, vsrc1); \
961 GET_REGISTER_FLOAT(vdst) _op GET_REGISTER_FLOAT(vsrc1)); \
967 vsrc1 = INST_B(inst); \
968 ILOGV("|%s-double-2addr v%d,v%d", (_opname), vdst, vsrc1); \
970 GET_REGISTER_DOUBLE(vdst) _op GET_REGISTER_DOUBLE(vsrc1)); \
981 vsrc1 = arrayInfo & 0xff; /* array ptr */ \
983 ILOGV("|aget%s v%d,v%d,v%d", (_opname), vdst, vsrc1, vsrc2); \
984 arrayObj = (ArrayObject*) GET_REGISTER(vsrc1); \
1008 vsrc1 = arrayInfo & 0xff; /* BB: array ptr */ \
1010 ILOGV("|aput%s v%d,v%d,v%d", (_opname), vdst, vsrc1, vsrc2); \
1011 arrayObj = (ArrayObject*) GET_REGISTER(vsrc1); \
1049 vsrc1 = INST_B(inst); /* object ptr */ \
1051 ILOGV("|iget%s v%d,v%d,field@0x%04x", (_opname), vdst, vsrc1, ref); \
1052 obj = (Object*) GET_REGISTER(vsrc1); \
1074 vsrc1 = INST_B(inst); /* object ptr */ \
1077 (_opname), vdst, vsrc1, ref); \
1078 obj = (Object*) GET_REGISTER(vsrc1); \
1094 vsrc1 = INST_B(inst); /* object ptr */ \
1096 ILOGV("|iput%s v%d,v%d,field@0x%04x", (_opname), vdst, vsrc1, ref); \
1097 obj = (Object*) GET_REGISTER(vsrc1); \
1119 vsrc1 = INST_B(inst); /* object ptr */ \
1122 (_opname), vdst, vsrc1, ref); \
1123 obj = (Object*) GET_REGISTER(vsrc1); \
1202 u2 vsrc1, vsrc2, vdst; // usually used for register indexes
1303 vsrc1 = INST_B(inst);
1305 (INST_INST(inst) == OP_MOVE) ? "" : "-object", vdst, vsrc1,
1306 kSpacing, vdst, GET_REGISTER(vsrc1));
1307 SET_REGISTER(vdst, GET_REGISTER(vsrc1));
1314 vsrc1 = FETCH(1);
1316 (INST_INST(inst) == OP_MOVE_FROM16) ? "" : "-object", vdst, vsrc1,
1317 kSpacing, vdst, GET_REGISTER(vsrc1));
1318 SET_REGISTER(vdst, GET_REGISTER(vsrc1));
1325 vsrc1 = FETCH(2);
1327 (INST_INST(inst) == OP_MOVE_16) ? "" : "-object", vdst, vsrc1,
1328 kSpacing, vdst, GET_REGISTER(vsrc1));
1329 SET_REGISTER(vdst, GET_REGISTER(vsrc1));
1338 vsrc1 = INST_B(inst);
1339 ILOGV("|move-wide v%d,v%d %s(v%d=0x%08llx)", vdst, vsrc1,
1340 kSpacing+5, vdst, GET_REGISTER_WIDE(vsrc1));
1341 SET_REGISTER_WIDE(vdst, GET_REGISTER_WIDE(vsrc1));
1348 vsrc1 = FETCH(1);
1349 ILOGV("|move-wide/from16 v%d,v%d (v%d=0x%08llx)", vdst, vsrc1,
1350 vdst, GET_REGISTER_WIDE(vsrc1));
1351 SET_REGISTER_WIDE(vdst, GET_REGISTER_WIDE(vsrc1));
1358 vsrc1 = FETCH(2);
1359 ILOGV("|move-wide/16 v%d,v%d %s(v%d=0x%08llx)", vdst, vsrc1,
1360 kSpacing+8, vdst, GET_REGISTER_WIDE(vsrc1));
1361 SET_REGISTER_WIDE(vdst, GET_REGISTER_WIDE(vsrc1));
1369 vsrc1 = INST_B(inst);
1371 (INST_INST(inst) == OP_MOVE) ? "" : "-object", vdst, vsrc1,
1372 kSpacing, vdst, GET_REGISTER(vsrc1));
1373 SET_REGISTER(vdst, GET_REGISTER(vsrc1));
1382 vsrc1 = FETCH(1);
1384 (INST_INST(inst) == OP_MOVE_FROM16) ? "" : "-object", vdst, vsrc1,
1385 kSpacing, vdst, GET_REGISTER(vsrc1));
1386 SET_REGISTER(vdst, GET_REGISTER(vsrc1));
1395 vsrc1 = FETCH(2);
1397 (INST_INST(inst) == OP_MOVE_16) ? "" : "-object", vdst, vsrc1,
1398 kSpacing, vdst, GET_REGISTER(vsrc1));
1399 SET_REGISTER(vdst, GET_REGISTER(vsrc1));
1455 vsrc1 = INST_AA(inst);
1457 (INST_INST(inst) == OP_RETURN) ? "" : "-object", vsrc1);
1458 retval.i = GET_REGISTER(vsrc1);
1464 vsrc1 = INST_AA(inst);
1465 ILOGV("|return-wide v%d", vsrc1);
1466 retval.j = GET_REGISTER_WIDE(vsrc1);
1473 vsrc1 = INST_AA(inst);
1475 (INST_INST(inst) == OP_RETURN) ? "" : "-object", vsrc1);
1476 retval.i = GET_REGISTER(vsrc1);
1497 vsrc1 = FETCH(1);
1498 ILOGV("|const/16 v%d,#0x%04x", vdst, (s2)vsrc1);
1499 SET_REGISTER(vdst, (s2) vsrc1);
1520 vsrc1 = FETCH(1);
1521 ILOGV("|const/high16 v%d,#0x%04x0000", vdst, vsrc1);
1522 SET_REGISTER(vdst, vsrc1 << 16);
1529 vsrc1 = FETCH(1);
1530 ILOGV("|const-wide/16 v%d,#0x%04x", vdst, (s2)vsrc1);
1531 SET_REGISTER_WIDE(vdst, (s2)vsrc1);
1568 vsrc1 = FETCH(1);
1569 ILOGV("|const-wide/high16 v%d,#0x%04x000000000000", vdst, vsrc1);
1570 SET_REGISTER_WIDE(vdst, ((u8) vsrc1) << 48);
1641 vsrc1 = INST_AA(inst);
1643 vsrc1, kSpacing+6, GET_REGISTER(vsrc1));
1644 obj = (Object*)GET_REGISTER(vsrc1);
1665 vsrc1 = INST_AA(inst);
1667 vsrc1, kSpacing+5, GET_REGISTER(vsrc1));
1668 obj = (Object*)GET_REGISTER(vsrc1);
1698 vsrc1 = INST_AA(inst);
1700 ILOGV("|check-cast v%d,class@0x%04x", vsrc1, ref);
1702 obj = (Object*)GET_REGISTER(vsrc1);
1731 vsrc1 = INST_B(inst); /* object to check */
1733 ILOGV("|instance-of v%d,v%d,class@0x%04x", vdst, vsrc1, ref);
1735 obj = (Object*)GET_REGISTER(vsrc1);
1762 vsrc1 = INST_B(inst);
1763 arrayObj = (ArrayObject*) GET_REGISTER(vsrc1);
1764 ILOGV("|array-length v%d,v%d (%p)", vdst, vsrc1, arrayObj);
1820 vsrc1 = INST_B(inst); /* length reg */
1823 vdst, vsrc1, ref, (s4) GET_REGISTER(vsrc1));
1824 length = (s4) GET_REGISTER(vsrc1);
1866 vsrc1 = INST_AA(inst);
1868 ILOGV("|fill-array-data v%d +0x%04x", vsrc1, offset);
1880 arrayObj = (ArrayObject*) GET_REGISTER(vsrc1);
1893 vsrc1 = INST_AA(inst);
1894 ILOGV("|throw v%d (%p)", vsrc1, (void*)GET_REGISTER(vsrc1));
1895 obj = (Object*) GET_REGISTER(vsrc1);
1960 vsrc1 = INST_AA(inst);
1962 ILOGV("|packed-switch v%d +0x%04x", vsrc1, vsrc2);
1974 testVal = GET_REGISTER(vsrc1);
1991 vsrc1 = INST_AA(inst);
1993 ILOGV("|sparse-switch v%d +0x%04x", vsrc1, vsrc2);
2005 testVal = GET_REGISTER(vsrc1);
2152 vsrc1 = arrayInfo & 0xff; /* BB: array ptr */
2154 ILOGV("|aput%s v%d,v%d,v%d", "-object", vdst, vsrc1, vsrc2);
2155 arrayObj = (ArrayObject*) GET_REGISTER(vsrc1);
2583 vsrc1 = srcRegs & 0xff;
2585 ILOGV("|%s-float v%d,v%d,v%d", "mod", vdst, vsrc1, vsrc2);
2587 fmodf(GET_REGISTER_FLOAT(vsrc1), GET_REGISTER_FLOAT(vsrc2)));
2614 vsrc1 = srcRegs & 0xff;
2616 ILOGV("|%s-double v%d,v%d,v%d", "mod", vdst, vsrc1, vsrc2);
2618 fmod(GET_REGISTER_DOUBLE(vsrc1), GET_REGISTER_DOUBLE(vsrc2)));
2730 vsrc1 = INST_B(inst);
2731 ILOGV("|%s-float-2addr v%d,v%d", "mod", vdst, vsrc1);
2733 fmodf(GET_REGISTER_FLOAT(vdst), GET_REGISTER_FLOAT(vsrc1)));
2756 vsrc1 = INST_B(inst);
2757 ILOGV("|%s-double-2addr v%d,v%d", "mod", vdst, vsrc1);
2759 fmod(GET_REGISTER_DOUBLE(vdst), GET_REGISTER_DOUBLE(vsrc1)));
2771 vsrc1 = INST_B(inst);
2773 ILOGV("|rsub-int v%d,v%d,#+0x%04x", vdst, vsrc1, vsrc2);
2774 SET_REGISTER(vdst, (s2) vsrc2 - (s4) GET_REGISTER(vsrc1));
2813 vsrc1 = litInfo & 0xff;
2815 ILOGV("|%s-int/lit8 v%d,v%d,#+0x%02x", "rsub", vdst, vsrc1, vsrc2);
2816 SET_REGISTER(vdst, (s1) vsrc2 - (s4) GET_REGISTER(vsrc1));
2927 vsrc1 = INST_AA(inst);
2929 dvmThrowVerificationError(curMethod, vsrc1, ref);
2957 vsrc1 = INST_B(inst); /* #of args */
2961 vsrc1, ref, vdst);
2964 assert(vsrc1 <= 4);
2966 switch (vsrc1) {
3002 vsrc1 = INST_AA(inst); /* #of args */
3006 vsrc1, ref, vdst, vdst+vsrc1-1);
3009 assert(vsrc1 <= 4);
3011 switch (vsrc1) {
3152 vsrc1 = INST_AA(inst); /* #of elements */
3155 vsrc1, ref, vdst, vdst+vsrc1-1);
3158 vsrc1 = INST_B(inst); /* #of elements */
3160 vsrc1, ref, vdst, arg5);
3201 newArray = dvmAllocArrayByClass(arrayClass, vsrc1, ALLOC_DONT_TRACK);
3206 * Fill in the elements. It's legal for vsrc1 to be zero.
3210 for (i = 0; i < vsrc1; i++)
3213 assert(vsrc1 <= 5);
3214 if (vsrc1 == 5) {
3216 vsrc1--;
3218 for (i = 0; i < vsrc1; i++) {
3237 vsrc1 = INST_AA(inst); /* AA (count) or BA (count + arg 5) */
3246 assert(vsrc1 > 0);
3248 vsrc1, ref, vdst, vdst+vsrc1-1);
3251 assert((vsrc1>>4) > 0);
3253 vsrc1 >> 4, ref, vdst, vsrc1 & 0x0f);
3307 if (vsrc1 != methodToCall->insSize) {
3318 GOTO_invokeMethod(methodCallRange, methodToCall, vsrc1, vdst);
3329 vsrc1 = INST_AA(inst); /* AA (count) or BA (count + arg 5) */
3335 vsrc1, ref, vdst, vdst+vsrc1-1);
3339 vsrc1 >> 4, ref, vdst, vsrc1 & 0x0f);
3396 GOTO_invokeMethod(methodCallRange, methodToCall, vsrc1, vdst);
3407 vsrc1 = INST_AA(inst); /* AA (count) or BA (count + arg 5) */
3416 assert(vsrc1 > 0);
3418 vsrc1, ref, vdst, vdst+vsrc1-1);
3421 assert((vsrc1>>4) > 0);
3423 vsrc1 >> 4, ref, vdst, vsrc1 & 0x0f);
3442 GOTO_invokeMethod(methodCallRange, methodToCall, vsrc1, vdst);
3450 vsrc1 = INST_AA(inst); /* AA (count) or BA (count + arg 5) */
3458 vsrc1, ref, vdst, vdst+vsrc1-1);
3462 vsrc1 >> 4, ref, vdst, vsrc1 & 0x0f);
3477 GOTO_invokeMethod(methodCallRange, methodToCall, vsrc1, vdst);
3482 vsrc1 = INST_AA(inst); /* AA (count) or BA (count + arg 5) */
3490 vsrc1, ref, vdst, vdst+vsrc1-1);
3493 vsrc1 >> 4, ref, vdst, vsrc1 & 0x0f);
3503 GOTO_invokeMethod(methodCallRange, methodToCall, vsrc1, vdst);
3512 vsrc1 = INST_AA(inst); /* AA (count) or BA (count + arg 5) */
3521 assert(vsrc1 > 0);
3523 vsrc1, ref, vdst, vdst+vsrc1-1);
3526 assert((vsrc1>>4) > 0);
3528 vsrc1 >> 4, ref, vdst, vsrc1 & 0x0f);
3557 GOTO_invokeMethod(methodCallRange, methodToCall, vsrc1, vdst);
3567 vsrc1 = INST_AA(inst); /* AA (count) or BA (count + arg 5) */
3573 vsrc1, ref, vdst, vdst+vsrc1-1);
3577 vsrc1 >> 4, ref, vdst, vsrc1 & 0x0f);
3618 GOTO_invokeMethod(methodCallRange, methodToCall, vsrc1, vdst);
3859 * "vsrc1" holds the argument count (8 bits)
3862 * "vsrc1" holds the argument count (4 bits) and the 5th argument index
3871 STUB_HACK(vsrc1 = count; vdst = regs; methodToCall = _methodToCall;);
3882 * Copy args. This may corrupt vsrc1/vdst.
3887 assert(vsrc1 <= curMethod->outsSize);
3888 assert(vsrc1 == methodToCall->insSize);
3889 outs = OUTS_FROM_FP(fp, vsrc1);
3890 for (i = 0; i < vsrc1; i++)
3893 u4 count = vsrc1 >> 4;
3902 outs[4] = GET_REGISTER(vsrc1 & 0x0f);
3915 outs[4] = GET_REGISTER(vsrc1 & 0x0f);