Lines Matching refs:r_dst
326 static MIPSInstr *mk_iMOVds_RR(HReg r_dst, HReg r_src) in mk_iMOVds_RR() argument
328 vassert(hregClass(r_dst) == hregClass(r_src)); in mk_iMOVds_RR()
330 return MIPSInstr_Alu(Malu_OR, r_dst, r_src, MIPSRH_Reg(r_src)); in mk_iMOVds_RR()
809 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
817 r_dst, am_addr, mode64)); in iselWordExpr_R_wrk()
818 return r_dst; in iselWordExpr_R_wrk()
877 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
898 addInstr(env, MIPSInstr_Alu(aluOp, r_dst, r_srcL, ri_srcR)); in iselWordExpr_R_wrk()
899 return r_dst; in iselWordExpr_R_wrk()
923 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
950 r_dst, r_srcL_se, ri_srcR)); in iselWordExpr_R_wrk()
953 r_dst, r_srcL, ri_srcR)); in iselWordExpr_R_wrk()
957 r_dst, r_srcL, ri_srcR)); in iselWordExpr_R_wrk()
960 return r_dst; in iselWordExpr_R_wrk()
1051 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1062 addInstr(env, mk_iMOVds_RR(r_dst, argL)); in iselWordExpr_R_wrk()
1063 addInstr(env, MIPSInstr_MoveCond(MMoveCond_movn, r_dst, argR, tmp)); in iselWordExpr_R_wrk()
1064 return r_dst; in iselWordExpr_R_wrk()
1069 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1075 r_dst, r_srcL, r_srcR)); in iselWordExpr_R_wrk()
1076 return r_dst; in iselWordExpr_R_wrk()
1080 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1095 r_dst, r_srcL, r_srcR)); in iselWordExpr_R_wrk()
1107 addInstr(env, MIPSInstr_Alu(Malu_OR, r_dst, tHi_1, in iselWordExpr_R_wrk()
1110 return r_dst; in iselWordExpr_R_wrk()
1204 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1221 addInstr(env, MIPSInstr_Alu(Malu_OR, r_dst, tHi_1, in iselWordExpr_R_wrk()
1224 return r_dst; in iselWordExpr_R_wrk()
1233 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1256 addInstr(env, MIPSInstr_Alu(Malu_OR, r_dst, tHi_1, in iselWordExpr_R_wrk()
1258 return r_dst; in iselWordExpr_R_wrk()
1267 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1276 addInstr(env, MIPSInstr_Alu(Malu_OR, r_dst, tHi_1, in iselWordExpr_R_wrk()
1279 return r_dst; in iselWordExpr_R_wrk()
1307 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1316 addInstr(env, MIPSInstr_FpGpMove(MFpGpMove_mfc1, r_dst, valS)); in iselWordExpr_R_wrk()
1318 return r_dst; in iselWordExpr_R_wrk()
1381 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1426 addInstr(env, MIPSInstr_Shft(Mshft_SLL, sz32, r_dst, r_src, in iselWordExpr_R_wrk()
1428 addInstr(env, MIPSInstr_Shft(Mshft_SRA, sz32, r_dst, r_dst, in iselWordExpr_R_wrk()
1430 return r_dst; in iselWordExpr_R_wrk()
1435 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1439 addInstr(env, MIPSInstr_LI(r_dst, 0x1)); in iselWordExpr_R_wrk()
1440 addInstr(env, MIPSInstr_Alu(Malu_SUB, r_dst, r_dst, r_srcR)); in iselWordExpr_R_wrk()
1441 return r_dst; in iselWordExpr_R_wrk()
1448 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1452 addInstr(env, MIPSInstr_Alu(Malu_NOR, r_dst, r_srcL, r_srcR)); in iselWordExpr_R_wrk()
1453 return r_dst; in iselWordExpr_R_wrk()
1458 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1462 addInstr(env, MIPSInstr_FpGpMove(MFpGpMove_mfc1, r_dst, fr_src)); in iselWordExpr_R_wrk()
1464 return r_dst; in iselWordExpr_R_wrk()
1470 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1474 addInstr(env, MIPSInstr_FpGpMove(MFpGpMove_dmfc1, r_dst, fr_src)); in iselWordExpr_R_wrk()
1476 return r_dst; in iselWordExpr_R_wrk()
1486 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1494 addInstr(env, MIPSInstr_FpGpMove(MFpGpMove_mfc1, r_dst, valS)); in iselWordExpr_R_wrk()
1496 return r_dst; in iselWordExpr_R_wrk()
1506 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1509 r_dst, r_src, MIPSRH_Imm(False, 16))); in iselWordExpr_R_wrk()
1510 return r_dst; in iselWordExpr_R_wrk()
1516 HReg r_src, r_dst; in iselWordExpr_R_wrk() local
1518 r_dst = newVRegI(env); in iselWordExpr_R_wrk()
1520 addInstr(env, MIPSInstr_Alu(Malu_AND, r_dst, r_src, in iselWordExpr_R_wrk()
1522 return r_dst; in iselWordExpr_R_wrk()
1526 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1529 r_dst, r_src, MIPSRH_Imm(False, 8))); in iselWordExpr_R_wrk()
1530 return r_dst; in iselWordExpr_R_wrk()
1541 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1566 addInstr(env, MIPSInstr_Alu(Malu_AND, r_dst, r_src, in iselWordExpr_R_wrk()
1568 return r_dst; in iselWordExpr_R_wrk()
1572 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1576 r_dst, r_src, MIPSRH_Imm(False, 32))); in iselWordExpr_R_wrk()
1578 r_dst, r_dst, MIPSRH_Imm(False, 32))); in iselWordExpr_R_wrk()
1579 return r_dst; in iselWordExpr_R_wrk()
1584 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1587 r_dst, r_src, MIPSRH_Imm(True, 32))); in iselWordExpr_R_wrk()
1588 return r_dst; in iselWordExpr_R_wrk()
1598 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1599 r_dst = iselWordExpr_R(env, e->Iex.Unop.arg); in iselWordExpr_R_wrk()
1600 return r_dst; in iselWordExpr_R_wrk()
1610 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1611 r_dst = iselWordExpr_R(env, e->Iex.Unop.arg); in iselWordExpr_R_wrk()
1612 return r_dst; in iselWordExpr_R_wrk()
1616 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1620 r_dst, r_src, MIPSRH_Imm(True, 0))); in iselWordExpr_R_wrk()
1621 return r_dst; in iselWordExpr_R_wrk()
1626 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1633 addInstr(env, MIPSInstr_Cmp(False, True, r_dst, tmp, in iselWordExpr_R_wrk()
1635 return r_dst; in iselWordExpr_R_wrk()
1639 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1642 addInstr(env, MIPSInstr_Cmp(False, True, r_dst, r_src, in iselWordExpr_R_wrk()
1644 return r_dst; in iselWordExpr_R_wrk()
1648 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1651 addInstr(env, MIPSInstr_Alu(Malu_SUB, r_dst, hregMIPS_GPR0(mode64), in iselWordExpr_R_wrk()
1654 addInstr(env, MIPSInstr_Alu(Malu_OR, r_dst, r_dst, in iselWordExpr_R_wrk()
1656 addInstr(env, MIPSInstr_Shft(Mshft_SRA, True, r_dst, r_dst, in iselWordExpr_R_wrk()
1658 return r_dst; in iselWordExpr_R_wrk()
1667 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1670 addInstr(env, MIPSInstr_Alu(op, r_dst, in iselWordExpr_R_wrk()
1673 addInstr(env, MIPSInstr_Alu(Malu_OR, r_dst, r_dst, in iselWordExpr_R_wrk()
1675 return r_dst; in iselWordExpr_R_wrk()
1681 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1684 addInstr(env, MIPSInstr_Unary(op, r_dst, r_src)); in iselWordExpr_R_wrk()
1685 return r_dst; in iselWordExpr_R_wrk()
1690 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1699 addInstr(env, MIPSInstr_Cmp(False, !(env->mode64), r_dst, r_src, in iselWordExpr_R_wrk()
1701 return r_dst; in iselWordExpr_R_wrk()
1780 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1784 addInstr(env, MIPSInstr_Load(toUChar(sizeofIRType(ty)), r_dst, am_addr, in iselWordExpr_R_wrk()
1786 return r_dst; in iselWordExpr_R_wrk()
1796 HReg r_dst = iselWordExpr_R(env, e->Iex.ITE.iffalse); in iselWordExpr_R_wrk() local
1803 addInstr(env, MIPSInstr_MoveCond(MMoveCond_movn, r_dst, r1, r_cond)); in iselWordExpr_R_wrk()
1804 return r_dst; in iselWordExpr_R_wrk()
1813 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1833 addInstr(env, MIPSInstr_LI(r_dst, (ULong) l)); in iselWordExpr_R_wrk()
1834 return r_dst; in iselWordExpr_R_wrk()
1839 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1857 addInstr(env, mk_iMOVds_RR(r_dst, hregMIPS_GPR2(mode64))); in iselWordExpr_R_wrk()
1858 return r_dst; in iselWordExpr_R_wrk()
2133 HReg r_dst = newVRegI(env); in iselCondCode_wrk() local
2137 addInstr(env, MIPSInstr_LI(r_dst, 0x1)); in iselCondCode_wrk()
2138 addInstr(env, MIPSInstr_Alu(Malu_SUB, r_dst, r_dst, r_srcR)); in iselCondCode_wrk()
2145 r_dst, mode64)); in iselCondCode_wrk()
2149 HReg r_dst = iselWordExpr_R_wrk(env, e); in iselCondCode_wrk() local
2156 r_dst, mode64)); in iselCondCode_wrk()
2207 HReg r_dst = newVRegI(env); in iselInt128Expr_wrk() local
2211 r_dst, r_srcL, r_srcR)); in iselInt128Expr_wrk()
2438 HReg r_dst = newVRegI(env); in iselInt64Expr_wrk() local
2445 r_dst, r_srcL, r_srcR)); in iselInt64Expr_wrk()
2993 HReg r_dst; in iselFltExpr_wrk() local
2996 r_dst = newVRegD(env); in iselFltExpr_wrk()
2997 addInstr(env, MIPSInstr_FpLdSt(True /*load */, 8, r_dst, am_addr)); in iselFltExpr_wrk()
2999 r_dst = newVRegF(env); in iselFltExpr_wrk()
3000 addInstr(env, MIPSInstr_FpLdSt(True /*load */, 4, r_dst, am_addr)); in iselFltExpr_wrk()
3002 return r_dst; in iselFltExpr_wrk()
3008 HReg r_dst; in iselFltExpr_wrk() local
3010 r_dst = newVRegD(env); in iselFltExpr_wrk()
3011 addInstr(env, MIPSInstr_FpLdSt(True /*load */, 8, r_dst, am_addr)); in iselFltExpr_wrk()
3013 r_dst = newVRegF(env); in iselFltExpr_wrk()
3014 addInstr(env, MIPSInstr_FpLdSt(True /*load */, 4, r_dst, am_addr)); in iselFltExpr_wrk()
3016 return r_dst; in iselFltExpr_wrk()
3023 HReg r_dst = newVRegF(env); in iselFltExpr_wrk() local
3027 addInstr(env, MIPSInstr_FpGpMove(MFpGpMove_mtc1, r_dst, fr_src)); in iselFltExpr_wrk()
3029 return r_dst; in iselFltExpr_wrk()
3040 HReg r_dst; in iselFltExpr_wrk() local
3043 r_dst = newVRegF(env); in iselFltExpr_wrk()
3046 addInstr(env, MIPSInstr_FpGpMove(MFpGpMove_dmtc1, r_dst, fr_src)); in iselFltExpr_wrk()
3049 r_dst = newVRegD(env); in iselFltExpr_wrk()
3051 r_dst = mk_LoadRR32toFPR(env, Hi, Lo); /* 2*I32 -> F64 */ in iselFltExpr_wrk()
3053 return r_dst; in iselFltExpr_wrk()
3213 HReg r_dst = newVRegF(env); in iselFltExpr_wrk() local
3222 addInstr(env, MIPSInstr_FpConvert(Mfp_CVTSW, r_dst, tmp)); in iselFltExpr_wrk()
3225 return r_dst; in iselFltExpr_wrk()
3229 HReg r_dst = newVRegF(env); in iselFltExpr_wrk() local
3255 addInstr(env, MIPSInstr_FpConvert(Mfp_CVTDL, r_dst, tmp)); in iselFltExpr_wrk()
3258 return r_dst; in iselFltExpr_wrk()
3262 HReg r_dst = newVRegF(env); in iselFltExpr_wrk() local
3288 addInstr(env, MIPSInstr_FpConvert(Mfp_CVTSL, r_dst, tmp)); in iselFltExpr_wrk()
3291 return r_dst; in iselFltExpr_wrk()
3400 HReg r_dst = newVRegF(env); in iselFltExpr_wrk() local
3401 addInstr(env, MIPSInstr_FpUnary(Mfp_MOVD, r_dst, r0)); in iselFltExpr_wrk()
3402 addInstr(env, MIPSInstr_MoveCond(MFpMoveCond_movnd, r_dst, r1, in iselFltExpr_wrk()
3404 return r_dst; in iselFltExpr_wrk()
3434 HReg r_dst = newVRegD(env); in iselDblExpr_wrk() local
3438 addInstr(env, MIPSInstr_FpLdSt(True /*load */ , 8, r_dst, am_addr)); in iselDblExpr_wrk()
3439 return r_dst; in iselDblExpr_wrk()
3445 HReg r_dst = newVRegD(env); in iselDblExpr_wrk() local
3448 addInstr(env, MIPSInstr_FpLdSt(True /*load */ , 8, r_dst, am_addr)); in iselDblExpr_wrk()
3449 return r_dst; in iselDblExpr_wrk()
3619 HReg r_dst = newVRegD(env); in iselDblExpr_wrk() local
3621 addInstr(env, MIPSInstr_FpUnary(Mfp_MOVD, r_dst, r0)); in iselDblExpr_wrk()
3622 addInstr(env, MIPSInstr_MoveCond(MFpMoveCond_movnd, r_dst, r1, in iselDblExpr_wrk()
3624 return r_dst; in iselDblExpr_wrk()
3751 HReg r_dst = lookupIRTemp(env, tmp); in iselStmt() local
3753 addInstr(env, mk_iMOVds_RR(r_dst, r_src)); in iselStmt()
3759 HReg r_dst = lookupIRTemp(env, tmp); in iselStmt() local
3761 addInstr(env, mk_iMOVds_RR(r_dst, r_src)); in iselStmt()
3848 HReg r_dst = lookupIRTemp(env, d->tmp); in iselStmt() local
3849 addInstr(env, mk_iMOVds_RR(r_dst, hregMIPS_GPR2(mode64))); in iselStmt()
3858 HReg r_dst = lookupIRTemp(env, d->tmp); in iselStmt() local
3859 addInstr(env, mk_iMOVds_RR(r_dst, hregMIPS_GPR2(mode64))); in iselStmt()
3915 HReg r_dst = lookupIRTemp(env, res); in iselStmt() local
3917 addInstr(env, MIPSInstr_LoadL(4, r_dst, r_addr, mode64)); in iselStmt()
3920 addInstr(env, MIPSInstr_LoadL(8, r_dst, r_addr, mode64)); in iselStmt()
3928 HReg r_dst = lookupIRTemp(env, res); in iselStmt() local
3933 addInstr(env, mk_iMOVds_RR(r_dst, r_src)); in iselStmt()
3934 addInstr(env, MIPSInstr_StoreC(4, r_addr, r_dst, mode64)); in iselStmt()
3937 addInstr(env, mk_iMOVds_RR(r_dst, r_src)); in iselStmt()
3938 addInstr(env, MIPSInstr_StoreC(8, r_addr, r_dst, mode64)); in iselStmt()