• Home
  • Raw
  • Download

Lines Matching refs:r_dst

517 static PPCInstr* mk_iMOVds_RR ( HReg r_dst, HReg r_src )  in mk_iMOVds_RR()  argument
519 vassert(hregClass(r_dst) == hregClass(r_src)); in mk_iMOVds_RR()
522 return PPCInstr_Alu(Palu_OR, r_dst, r_src, PPCRH_Reg(r_src)); in mk_iMOVds_RR()
1435 HReg r_dst; in iselWordExpr_R_wrk() local
1439 r_dst = newVRegI(env); in iselWordExpr_R_wrk()
1443 r_dst, am_addr, mode64 )); in iselWordExpr_R_wrk()
1444 return r_dst; in iselWordExpr_R_wrk()
1471 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1487 addInstr(env, PPCInstr_Alu(aluOp, r_dst, r_srcL, ri_srcR)); in iselWordExpr_R_wrk()
1488 return r_dst; in iselWordExpr_R_wrk()
1504 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1539 r_dst, r_srcL, ri_srcR)); in iselWordExpr_R_wrk()
1542 r_dst, r_srcL, ri_srcR)); in iselWordExpr_R_wrk()
1544 return r_dst; in iselWordExpr_R_wrk()
1553 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1562 r_dst, in iselWordExpr_R_wrk()
1565 return r_dst; in iselWordExpr_R_wrk()
1571 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1582 r_dst, in iselWordExpr_R_wrk()
1585 return r_dst; in iselWordExpr_R_wrk()
1593 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1597 r_dst, r_srcL, r_srcR)); in iselWordExpr_R_wrk()
1598 return r_dst; in iselWordExpr_R_wrk()
1607 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1618 r_dst, tHi, PPCRH_Imm(False,32))); in iselWordExpr_R_wrk()
1620 r_dst, r_dst, PPCRH_Reg(tLo))); in iselWordExpr_R_wrk()
1621 return r_dst; in iselWordExpr_R_wrk()
1672 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1677 r_dst, r_Hi, PPCRH_Imm(False,32))); in iselWordExpr_R_wrk()
1681 addInstr(env, PPCInstr_Alu( Palu_OR, r_dst, r_dst, in iselWordExpr_R_wrk()
1683 return r_dst; in iselWordExpr_R_wrk()
1878 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1880 addInstr(env, PPCInstr_Alu(Palu_AND, r_dst, in iselWordExpr_R_wrk()
1882 return r_dst; in iselWordExpr_R_wrk()
1892 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1896 addInstr(env, PPCInstr_Load(2,r_dst,amode, mode64)); in iselWordExpr_R_wrk()
1897 return r_dst; in iselWordExpr_R_wrk()
1907 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1911 addInstr(env, PPCInstr_Alu(Palu_AND,r_dst,r_src, in iselWordExpr_R_wrk()
1913 return r_dst; in iselWordExpr_R_wrk()
1916 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1921 r_dst, r_src, PPCRH_Imm(False,32))); in iselWordExpr_R_wrk()
1924 r_dst, r_dst, PPCRH_Imm(False,32))); in iselWordExpr_R_wrk()
1925 return r_dst; in iselWordExpr_R_wrk()
1930 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1935 r_dst, r_src, PPCRH_Imm(False,amt))); in iselWordExpr_R_wrk()
1938 r_dst, r_dst, PPCRH_Imm(False,amt))); in iselWordExpr_R_wrk()
1939 return r_dst; in iselWordExpr_R_wrk()
1943 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1949 r_dst, r_src, PPCRH_Imm(False,amt))); in iselWordExpr_R_wrk()
1952 r_dst, r_dst, PPCRH_Imm(False,amt))); in iselWordExpr_R_wrk()
1953 return r_dst; in iselWordExpr_R_wrk()
1956 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1963 r_dst, r_src, PPCRH_Imm(False,0))); in iselWordExpr_R_wrk()
1964 return r_dst; in iselWordExpr_R_wrk()
1971 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1973 addInstr(env, PPCInstr_Unary(Pun_NOT,r_dst,r_src)); in iselWordExpr_R_wrk()
1974 return r_dst; in iselWordExpr_R_wrk()
1982 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1986 r_dst, r_src, PPCRH_Imm(False,32))); in iselWordExpr_R_wrk()
1987 return r_dst; in iselWordExpr_R_wrk()
2008 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2013 r_dst, r_src, PPCRH_Imm(False,shift))); in iselWordExpr_R_wrk()
2014 return r_dst; in iselWordExpr_R_wrk()
2034 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2036 addInstr(env, PPCInstr_Set(cond,r_dst)); in iselWordExpr_R_wrk()
2037 return r_dst; in iselWordExpr_R_wrk()
2044 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2046 addInstr(env, PPCInstr_Set(cond,r_dst)); in iselWordExpr_R_wrk()
2049 r_dst, r_dst, PPCRH_Imm(False,31))); in iselWordExpr_R_wrk()
2052 r_dst, r_dst, PPCRH_Imm(False,31))); in iselWordExpr_R_wrk()
2053 return r_dst; in iselWordExpr_R_wrk()
2058 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2060 addInstr(env, PPCInstr_Set(cond,r_dst)); in iselWordExpr_R_wrk()
2062 r_dst, r_dst, PPCRH_Imm(False,63))); in iselWordExpr_R_wrk()
2064 r_dst, r_dst, PPCRH_Imm(False,63))); in iselWordExpr_R_wrk()
2065 return r_dst; in iselWordExpr_R_wrk()
2070 HReg r_src, r_dst; in iselWordExpr_R_wrk() local
2076 r_dst = newVRegI(env); in iselWordExpr_R_wrk()
2078 addInstr(env, PPCInstr_Unary(op_clz,r_dst,r_src)); in iselWordExpr_R_wrk()
2079 return r_dst; in iselWordExpr_R_wrk()
2084 HReg r_src, r_dst; in iselWordExpr_R_wrk() local
2090 r_dst = newVRegI(env); in iselWordExpr_R_wrk()
2092 addInstr(env, PPCInstr_Unary(op_clz,r_dst,r_src)); in iselWordExpr_R_wrk()
2093 return r_dst; in iselWordExpr_R_wrk()
2100 HReg r_src, r_dst; in iselWordExpr_R_wrk() local
2103 r_dst = newVRegI(env); in iselWordExpr_R_wrk()
2105 addInstr(env, PPCInstr_Unary(Pun_NEG,r_dst,r_src)); in iselWordExpr_R_wrk()
2106 addInstr(env, PPCInstr_Alu(Palu_OR, r_dst, r_dst, PPCRH_Reg(r_src))); in iselWordExpr_R_wrk()
2107 return r_dst; in iselWordExpr_R_wrk()
2111 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2113 addInstr(env, PPCInstr_Unary(Pun_NEG,r_dst,r_src)); in iselWordExpr_R_wrk()
2114 addInstr(env, PPCInstr_Alu(Palu_OR, r_dst, r_dst, PPCRH_Reg(r_src))); in iselWordExpr_R_wrk()
2116 r_dst, r_dst, PPCRH_Imm(False, 31))); in iselWordExpr_R_wrk()
2117 return r_dst; in iselWordExpr_R_wrk()
2121 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2124 addInstr(env, PPCInstr_Unary(Pun_NEG,r_dst,r_src)); in iselWordExpr_R_wrk()
2125 addInstr(env, PPCInstr_Alu(Palu_OR, r_dst, r_dst, PPCRH_Reg(r_src))); in iselWordExpr_R_wrk()
2127 r_dst, r_dst, PPCRH_Imm(False, 63))); in iselWordExpr_R_wrk()
2128 return r_dst; in iselWordExpr_R_wrk()
2216 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2225 addInstr(env, PPCInstr_Load( 8, r_dst, am_addr, mode64 )); in iselWordExpr_R_wrk()
2228 return r_dst; in iselWordExpr_R_wrk()
2240 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2249 addInstr(env, PPCInstr_Load( 4, r_dst, am_addr, mode64 )); in iselWordExpr_R_wrk()
2252 return r_dst; in iselWordExpr_R_wrk()
2260 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2269 addInstr(env, PPCInstr_Load( 8, r_dst, am_addr, mode64 )); in iselWordExpr_R_wrk()
2271 return r_dst; in iselWordExpr_R_wrk()
2282 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2307 addInstr(env, mk_iMOVds_RR(r_dst, argregs[0])); in iselWordExpr_R_wrk()
2308 return r_dst; in iselWordExpr_R_wrk()
2318 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2344 addInstr(env, mk_iMOVds_RR(r_dst, argregs[0])); in iselWordExpr_R_wrk()
2345 return r_dst; in iselWordExpr_R_wrk()
2453 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2457 r_dst, am_addr, mode64 )); in iselWordExpr_R_wrk()
2458 return r_dst; in iselWordExpr_R_wrk()
2468 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2471 r_dst, src_am, mode64 )); in iselWordExpr_R_wrk()
2472 return r_dst; in iselWordExpr_R_wrk()
2476 r_dst, src_am, mode64 )); in iselWordExpr_R_wrk()
2477 return r_dst; in iselWordExpr_R_wrk()
2502 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2503 addInstr(env, mk_iMOVds_RR(r_dst, hregPPC_GPR3(mode64))); in iselWordExpr_R_wrk()
2504 return r_dst; in iselWordExpr_R_wrk()
2511 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2521 addInstr(env, PPCInstr_LI(r_dst, (ULong)l, mode64)); in iselWordExpr_R_wrk()
2522 return r_dst; in iselWordExpr_R_wrk()
2532 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
2533 addInstr(env, mk_iMOVds_RR(r_dst,r0)); in iselWordExpr_R_wrk()
2535 addInstr(env, PPCInstr_CMov(cc, r_dst, r1)); in iselWordExpr_R_wrk()
2536 return r_dst; in iselWordExpr_R_wrk()
3359 HReg r_dst = newVRegI(env); in iselInt64Expr_wrk() local
3360 addInstr(env, mk_iMOVds_RR(r_dst, hregPPC_GPR3(mode64))); in iselInt64Expr_wrk()
3361 *rHi = r_dst; in iselInt64Expr_wrk()
3362 *rLo = r_dst; in iselInt64Expr_wrk()
3926 HReg r_dst = newVRegF(env); in iselFltExpr_wrk() local
3930 addInstr(env, PPCInstr_FpLdSt(True/*load*/, 4, r_dst, am_addr)); in iselFltExpr_wrk()
3931 return r_dst; in iselFltExpr_wrk()
3935 HReg r_dst = newVRegF(env); in iselFltExpr_wrk() local
3938 addInstr(env, PPCInstr_FpLdSt( True/*load*/, 4, r_dst, am_addr )); in iselFltExpr_wrk()
3939 return r_dst; in iselFltExpr_wrk()
4129 HReg r_dst = newVRegF(env); in iselDblExpr_wrk() local
4134 addInstr(env, PPCInstr_FpLdSt(True/*load*/, 8, r_dst, am_addr)); in iselDblExpr_wrk()
4135 return r_dst; in iselDblExpr_wrk()
4140 HReg r_dst = newVRegF(env); in iselDblExpr_wrk() local
4143 addInstr(env, PPCInstr_FpLdSt( True/*load*/, 8, r_dst, am_addr )); in iselDblExpr_wrk()
4144 return r_dst; in iselDblExpr_wrk()
4158 HReg r_dst = newVRegF(env); in iselDblExpr_wrk() local
4166 addInstr(env, PPCInstr_FpMulAcc(fpop, r_dst, in iselDblExpr_wrk()
4168 return r_dst; in iselDblExpr_wrk()
4187 HReg r_dst = newVRegF(env); in iselDblExpr_wrk() local
4191 addInstr(env, PPCInstr_FpBinary(fpop, r_dst, r_srcL, r_srcR)); in iselDblExpr_wrk()
4192 return r_dst; in iselDblExpr_wrk()
4249 HReg r_dst = newVRegF(env); in iselDblExpr_wrk() local
4252 addInstr(env, PPCInstr_FpRSP(r_dst, r_src)); in iselDblExpr_wrk()
4254 return r_dst; in iselDblExpr_wrk()
4460 HReg r_dst = newVRegF( env ); in iselDfp32Expr_wrk() local
4463 addInstr( env, PPCInstr_FpLdSt( True/*load*/, 8, r_dst, am_addr ) ); in iselDfp32Expr_wrk()
4464 return r_dst; in iselDfp32Expr_wrk()
4470 HReg r_dst = newVRegF(env); in iselDfp32Expr_wrk() local
4474 addInstr(env, PPCInstr_FpLdSt(True/*load*/, 4, r_dst, am_addr)); in iselDfp32Expr_wrk()
4475 return r_dst; in iselDfp32Expr_wrk()
4541 HReg r_dst = newVRegV(env); in iselFp128Expr_wrk() local
4543 addInstr(env, PPCInstr_Fp128Unary(fpop, r_dst, r_src)); in iselFp128Expr_wrk()
4544 return r_dst; in iselFp128Expr_wrk()
4549 HReg r_dst = newVRegV(env); in iselFp128Expr_wrk() local
4560 addInstr(env, PPCInstr_Fp128Unary(fpop, r_dst, v128tmp)); in iselFp128Expr_wrk()
4561 return r_dst; in iselFp128Expr_wrk()
4570 HReg r_dst = newVRegV(env); in iselFp128Expr_wrk() local
4595 addInstr(env, PPCInstr_Fp128Unary(fpop, r_dst, tmp)); in iselFp128Expr_wrk()
4596 return r_dst; in iselFp128Expr_wrk()
4681 HReg r_dst = newVRegV(env); in iselFp128Expr_wrk() local
4683 addInstr(env, PPCInstr_Fp128Unary(fpop, r_dst, r_src)); in iselFp128Expr_wrk()
4684 return r_dst; in iselFp128Expr_wrk()
4738 HReg r_dst = newVRegV(env); in iselFp128Expr_wrk() local
4742 addInstr(env, PPCInstr_Fp128Binary(fpop, r_dst, r_srcL, r_srcR)); in iselFp128Expr_wrk()
4743 return r_dst; in iselFp128Expr_wrk()
4790 HReg r_dst = iselFp128Expr(env, qop->arg3, in iselFp128Expr_wrk() local
4797 addInstr(env, PPCInstr_Fp128Trinary(fpop, r_dst, r_srcL, r_srcR)); in iselFp128Expr_wrk()
4798 return r_dst; in iselFp128Expr_wrk()
4835 HReg r_dst = newVRegF( env ); in iselDfp64Expr_wrk() local
4838 addInstr( env, PPCInstr_FpLdSt( True/*load*/, 8, r_dst, am_addr ) ); in iselDfp64Expr_wrk()
4839 return r_dst; in iselDfp64Expr_wrk()
4844 HReg r_dst = newVRegF(env); in iselDfp64Expr_wrk() local
4848 addInstr(env, PPCInstr_FpLdSt(True/*load*/, 8, r_dst, am_addr)); in iselDfp64Expr_wrk()
4849 return r_dst; in iselDfp64Expr_wrk()
4854 HReg r_dst = newVRegF( env ); in iselDfp64Expr_wrk() local
4855 return r_dst; in iselDfp64Expr_wrk()
5043 HReg r_dst = newVRegF( env ); in iselDfp64Expr_wrk() local
5048 addInstr( env, PPCInstr_Dfp64Binary( fpop, r_dst, r_srcL, r_srcR ) ); in iselDfp64Expr_wrk()
5049 return r_dst; in iselDfp64Expr_wrk()
5058 HReg r_dst = newVRegF(env); in iselDfp64Expr_wrk() local
5062 addInstr(env, PPCInstr_DfpQuantize(fpop, r_dst, r_srcL, r_srcR, in iselDfp64Expr_wrk()
5064 return r_dst; in iselDfp64Expr_wrk()
5067 HReg r_dst = newVRegF(env); in iselDfp64Expr_wrk() local
5085 addInstr(env, PPCInstr_DfpQuantize(fpop, r_dst, r_srcL, r_srcR, rmc)); in iselDfp64Expr_wrk()
5086 return r_dst; in iselDfp64Expr_wrk()
6343 HReg r_dst = lookupIRTemp(env, tmp); in iselStmt() local
6345 addInstr(env, mk_iMOVds_RR( r_dst, r_src )); in iselStmt()
6387 HReg r_dst = lookupIRTemp(env, tmp); in iselStmt() local
6388 addInstr(env, PPCInstr_Set(cond, r_dst)); in iselStmt()
6456 HReg r_dst = lookupIRTemp(env, res); in iselStmt() local
6458 addInstr(env, PPCInstr_LoadL( 1, r_dst, r_addr, mode64 )); in iselStmt()
6462 addInstr(env, PPCInstr_LoadL( 2, r_dst, r_addr, mode64 )); in iselStmt()
6466 addInstr(env, PPCInstr_LoadL( 4, r_dst, r_addr, mode64 )); in iselStmt()
6470 addInstr(env, PPCInstr_LoadL( 8, r_dst, r_addr, mode64 )); in iselStmt()
6568 HReg r_dst = lookupIRTemp(env, d->tmp); in iselStmt() local
6569 addInstr(env, mk_iMOVds_RR(r_dst, hregPPC_GPR3(mode64))); in iselStmt()
6578 HReg r_dst = lookupIRTemp(env, d->tmp); in iselStmt() local
6579 addInstr(env, mk_iMOVds_RR(r_dst, hregPPC_GPR3(mode64))); in iselStmt()