Lines Matching refs:srcA
451 void setupTwoStubArgs(GPRReg srcA
453 // Assuming that srcA != srcB, there are 7 interesting states the registers may be in:
457 // (4) srcA in in its correct reg.
458 // (5) srcA in in the incorrect reg.
462 // The trivial approach is to simply emit two moves, to put srcA in place then srcB in
464 // cases 1, 3, 4, 5, 6, and in cases where srcA==srcB. The two problem cases are 2
469 m_jit.move(JITCompiler::gprToRegisterID(srcA), JITCompiler::gprToRegisterID(destA));
471 } else if (srcA != destB) {
474 m_jit.move(JITCompiler::gprToRegisterID(srcA), JITCompiler::gprToRegisterID(destA));
479 void setupTwoStubArgs(FPRReg srcA, FPRReg srcB)
481 // Assuming that srcA != srcB, there are 7 interesting states the registers may be in:
485 // (4) srcA in in its correct reg.
486 // (5) srcA in in the incorrect reg.
490 // The trivial approach is to simply emit two moves, to put srcA in place then srcB in
492 // cases 1, 3, 4, 5, 6, and in cases where srcA==srcB. The two problem cases are 2
497 m_jit.moveDouble(JITCompiler::fprToRegisterID(srcA), JITCompiler::fprToRegisterID(destA));
502 if (srcA != destB) {
505 m_jit.moveDouble(JITCompiler::fprToRegisterID(srcA), JITCompiler::fprToRegisterID(destA));
509 ASSERT(srcB == destA && srcA == destB);