Home | History | Annotate | Download | only in Thumb2

Lines Matching full:rsrc

778                                 int rIndex, int rSrc, int scale, OpSize size)
780 bool allLowRegs = LOWREG(rBase) && LOWREG(rIndex) && LOWREG(rSrc);
786 if (FPREG(rSrc)) {
787 assert(SINGLEREG(rSrc));
805 store = newLIR3(cUnit, opcode, rSrc, regPtr, 0);
826 store = newLIR3(cUnit, opcode, rSrc, rBase, rIndex);
828 store = newLIR4(cUnit, opcode, rSrc, rBase, rIndex, scale);
977 int displacement, int rSrc, int rSrcHi,
984 bool allLowRegs = (LOWREG(rBase) && LOWREG(rSrc));
990 if (!FPREG(rSrc)) {
991 res = storeBaseDispBody(cUnit, rBase, displacement, rSrc,
997 if (SINGLEREG(rSrc)) {
999 rSrc = S2D(rSrc, rSrcHi);
1009 if (FPREG(rSrc)) {
1010 assert(SINGLEREG(rSrc));
1054 store = res = newLIR3(cUnit, opcode, rSrc, rBase, encodedDisp);
1058 store = storeBaseIndexed(cUnit, rBase, rScratch, rSrc, 0, size);
1073 int displacement, int rSrc, OpSize size)
1075 return storeBaseDispBody(cUnit, rBase, displacement, rSrc, -1, size);
1159 static ArmLIR *fpRegCopy(CompilationUnit *cUnit, int rDest, int rSrc)
1163 res->operands[1] = rSrc;
1164 if (rDest == rSrc) {
1167 assert(DOUBLEREG(rDest) == DOUBLEREG(rSrc));
1172 res->opcode = SINGLEREG(rSrc) ? kThumb2Vmovs : kThumb2Fmsr;
1174 assert(SINGLEREG(rSrc));
1179 res->operands[1] = rSrc;
1185 static ArmLIR* genRegCopyNoInsert(CompilationUnit *cUnit, int rDest, int rSrc)
1189 if (FPREG(rDest) || FPREG(rSrc))
1190 return fpRegCopy(cUnit, rDest, rSrc);
1192 if (LOWREG(rDest) && LOWREG(rSrc))
1194 else if (!LOWREG(rDest) && !LOWREG(rSrc))
1202 res->operands[1] = rSrc;
1205 if (rDest == rSrc) {
1211 static ArmLIR* genRegCopy(CompilationUnit *cUnit, int rDest, int rSrc)
1213 ArmLIR *res = genRegCopyNoInsert(cUnit, rDest, rSrc);