Lines Matching refs:mode64

47 const RRegUniverse* getRRegUniverse_PPC ( Bool mode64 )  in getRRegUniverse_PPC()  argument
59 UInt howNeeded = mode64 ? 2 : 1; in getRRegUniverse_PPC()
71 ru->regs[ru->size++] = hregPPC_GPR3(mode64); in getRRegUniverse_PPC()
72 ru->regs[ru->size++] = hregPPC_GPR4(mode64); in getRRegUniverse_PPC()
73 ru->regs[ru->size++] = hregPPC_GPR5(mode64); in getRRegUniverse_PPC()
74 ru->regs[ru->size++] = hregPPC_GPR6(mode64); in getRRegUniverse_PPC()
75 ru->regs[ru->size++] = hregPPC_GPR7(mode64); in getRRegUniverse_PPC()
76 ru->regs[ru->size++] = hregPPC_GPR8(mode64); in getRRegUniverse_PPC()
77 ru->regs[ru->size++] = hregPPC_GPR9(mode64); in getRRegUniverse_PPC()
78 ru->regs[ru->size++] = hregPPC_GPR10(mode64); in getRRegUniverse_PPC()
79 if (!mode64) { in getRRegUniverse_PPC()
83 ru->regs[ru->size++] = hregPPC_GPR11(mode64); in getRRegUniverse_PPC()
84 ru->regs[ru->size++] = hregPPC_GPR12(mode64); in getRRegUniverse_PPC()
88 ru->regs[ru->size++] = hregPPC_GPR14(mode64); in getRRegUniverse_PPC()
89 ru->regs[ru->size++] = hregPPC_GPR15(mode64); in getRRegUniverse_PPC()
90 ru->regs[ru->size++] = hregPPC_GPR16(mode64); in getRRegUniverse_PPC()
91 ru->regs[ru->size++] = hregPPC_GPR17(mode64); in getRRegUniverse_PPC()
92 ru->regs[ru->size++] = hregPPC_GPR18(mode64); in getRRegUniverse_PPC()
93 ru->regs[ru->size++] = hregPPC_GPR19(mode64); in getRRegUniverse_PPC()
94 ru->regs[ru->size++] = hregPPC_GPR20(mode64); in getRRegUniverse_PPC()
95 ru->regs[ru->size++] = hregPPC_GPR21(mode64); in getRRegUniverse_PPC()
96 ru->regs[ru->size++] = hregPPC_GPR22(mode64); in getRRegUniverse_PPC()
97 ru->regs[ru->size++] = hregPPC_GPR23(mode64); in getRRegUniverse_PPC()
98 ru->regs[ru->size++] = hregPPC_GPR24(mode64); in getRRegUniverse_PPC()
99 ru->regs[ru->size++] = hregPPC_GPR25(mode64); in getRRegUniverse_PPC()
100 ru->regs[ru->size++] = hregPPC_GPR26(mode64); in getRRegUniverse_PPC()
101 ru->regs[ru->size++] = hregPPC_GPR27(mode64); in getRRegUniverse_PPC()
102 ru->regs[ru->size++] = hregPPC_GPR28(mode64); in getRRegUniverse_PPC()
112 ru->regs[ru->size++] = hregPPC_FPR14(mode64); in getRRegUniverse_PPC()
113 ru->regs[ru->size++] = hregPPC_FPR15(mode64); in getRRegUniverse_PPC()
114 ru->regs[ru->size++] = hregPPC_FPR16(mode64); in getRRegUniverse_PPC()
115 ru->regs[ru->size++] = hregPPC_FPR17(mode64); in getRRegUniverse_PPC()
116 ru->regs[ru->size++] = hregPPC_FPR18(mode64); in getRRegUniverse_PPC()
117 ru->regs[ru->size++] = hregPPC_FPR19(mode64); in getRRegUniverse_PPC()
118 ru->regs[ru->size++] = hregPPC_FPR20(mode64); in getRRegUniverse_PPC()
119 ru->regs[ru->size++] = hregPPC_FPR21(mode64); in getRRegUniverse_PPC()
125 ru->regs[ru->size++] = hregPPC_VR20(mode64); in getRRegUniverse_PPC()
126 ru->regs[ru->size++] = hregPPC_VR21(mode64); in getRRegUniverse_PPC()
127 ru->regs[ru->size++] = hregPPC_VR22(mode64); in getRRegUniverse_PPC()
128 ru->regs[ru->size++] = hregPPC_VR23(mode64); in getRRegUniverse_PPC()
129 ru->regs[ru->size++] = hregPPC_VR24(mode64); in getRRegUniverse_PPC()
130 ru->regs[ru->size++] = hregPPC_VR25(mode64); in getRRegUniverse_PPC()
131 ru->regs[ru->size++] = hregPPC_VR26(mode64); in getRRegUniverse_PPC()
132 ru->regs[ru->size++] = hregPPC_VR27(mode64); in getRRegUniverse_PPC()
136 ru->regs[ru->size++] = hregPPC_GPR1(mode64); in getRRegUniverse_PPC()
137 ru->regs[ru->size++] = hregPPC_GPR29(mode64); in getRRegUniverse_PPC()
138 ru->regs[ru->size++] = hregPPC_GPR30(mode64); in getRRegUniverse_PPC()
139 ru->regs[ru->size++] = hregPPC_GPR31(mode64); in getRRegUniverse_PPC()
140 ru->regs[ru->size++] = hregPPC_VR29(mode64); in getRRegUniverse_PPC()
703 PPCInstr* PPCInstr_LI ( HReg dst, ULong imm64, Bool mode64 ) in PPCInstr_LI() argument
709 if (!mode64) in PPCInstr_LI()
846 HReg dst, PPCAMode* src, Bool mode64 ) { in PPCInstr_Load() argument
853 if (sz == 8) vassert(mode64); in PPCInstr_Load()
857 HReg dst, HReg src, Bool mode64 ) in PPCInstr_LoadL() argument
865 if (sz == 8) vassert(mode64); in PPCInstr_LoadL()
869 Bool mode64 ) { in PPCInstr_Store() argument
876 if (sz == 8) vassert(mode64); in PPCInstr_Store()
879 PPCInstr* PPCInstr_StoreC ( UChar sz, HReg dst, HReg src, Bool mode64 ) { in PPCInstr_StoreC() argument
886 if (sz == 8) vassert(mode64); in PPCInstr_StoreC()
1432 static void ppLoadImm ( HReg dst, ULong imm, Bool mode64 ) { in ppLoadImm() argument
1435 if (!mode64) { in ppLoadImm()
1451 void ppPPCInstr ( const PPCInstr* i, Bool mode64 ) in ppPPCInstr() argument
1455 ppLoadImm(i->Pin.LI.dst, i->Pin.LI.imm64, mode64); in ppPPCInstr()
1558 ppLoadImm(hregPPC_GPR10(mode64), i->Pin.Call.target, mode64); in ppPPCInstr()
1576 if (mode64) { in ppPPCInstr()
1585 if (mode64) { in ppPPCInstr()
1598 vex_printf("%s ", mode64 ? "std" : "stw"); in ppPPCInstr()
1603 vex_printf("imm%s r30,$disp_cp_xindir; ", mode64 ? "64" : "32"); in ppPPCInstr()
1610 vex_printf("%s ", mode64 ? "std" : "stw"); in ppPPCInstr()
1617 vex_printf("imm%s r30,$disp_cp_xindir; ", mode64 ? "64" : "32"); in ppPPCInstr()
1631 ppLoadImm(i->Pin.CMov.dst, i->Pin.CMov.src->Pri.Imm, mode64); in ppPPCInstr()
1844 ppLoadImm(hregPPC_GPR30(mode64), in ppPPCInstr()
1845 i->Pin.AvLdSt.addr->Pam.IR.index, mode64); in ppPPCInstr()
1950 ppLoadImm(hregPPC_GPR30(mode64), in ppPPCInstr()
1951 i->Pin.AvSh.addr->Pam.IR.index, mode64); in ppPPCInstr()
2209 if (mode64) { in ppPPCInstr()
2226 void getRegUsage_PPCInstr ( HRegUsage* u, const PPCInstr* i, Bool mode64 ) in getRegUsage_PPCInstr() argument
2279 addHRegUse(u, HRmWrite, hregPPC_GPR3(mode64)); in getRegUsage_PPCInstr()
2280 addHRegUse(u, HRmWrite, hregPPC_GPR4(mode64)); in getRegUsage_PPCInstr()
2281 addHRegUse(u, HRmWrite, hregPPC_GPR5(mode64)); in getRegUsage_PPCInstr()
2282 addHRegUse(u, HRmWrite, hregPPC_GPR6(mode64)); in getRegUsage_PPCInstr()
2283 addHRegUse(u, HRmWrite, hregPPC_GPR7(mode64)); in getRegUsage_PPCInstr()
2284 addHRegUse(u, HRmWrite, hregPPC_GPR8(mode64)); in getRegUsage_PPCInstr()
2285 addHRegUse(u, HRmWrite, hregPPC_GPR9(mode64)); in getRegUsage_PPCInstr()
2286 addHRegUse(u, HRmWrite, hregPPC_GPR10(mode64)); in getRegUsage_PPCInstr()
2287 if (!mode64) { in getRegUsage_PPCInstr()
2288 addHRegUse(u, HRmWrite, hregPPC_GPR11(mode64)); in getRegUsage_PPCInstr()
2289 addHRegUse(u, HRmWrite, hregPPC_GPR12(mode64)); in getRegUsage_PPCInstr()
2295 if (argir &(1<<10)) addHRegUse(u, HRmRead, hregPPC_GPR10(mode64)); in getRegUsage_PPCInstr()
2296 if (argir & (1<<9)) addHRegUse(u, HRmRead, hregPPC_GPR9(mode64)); in getRegUsage_PPCInstr()
2297 if (argir & (1<<8)) addHRegUse(u, HRmRead, hregPPC_GPR8(mode64)); in getRegUsage_PPCInstr()
2298 if (argir & (1<<7)) addHRegUse(u, HRmRead, hregPPC_GPR7(mode64)); in getRegUsage_PPCInstr()
2299 if (argir & (1<<6)) addHRegUse(u, HRmRead, hregPPC_GPR6(mode64)); in getRegUsage_PPCInstr()
2300 if (argir & (1<<5)) addHRegUse(u, HRmRead, hregPPC_GPR5(mode64)); in getRegUsage_PPCInstr()
2301 if (argir & (1<<4)) addHRegUse(u, HRmRead, hregPPC_GPR4(mode64)); in getRegUsage_PPCInstr()
2302 if (argir & (1<<3)) addHRegUse(u, HRmRead, hregPPC_GPR3(mode64)); in getRegUsage_PPCInstr()
2311 addHRegUse(u, HRmWrite, hregPPC_GPR10(mode64)); in getRegUsage_PPCInstr()
2415 addHRegUse(u, HRmWrite, hregPPC_GPR30(mode64)); in getRegUsage_PPCInstr()
2460 addHRegUse(u, HRmWrite, hregPPC_VR29(mode64)); in getRegUsage_PPCInstr()
2481 addHRegUse(u, HRmWrite, hregPPC_GPR30(mode64)); in getRegUsage_PPCInstr()
2615 addHRegUse(u, HRmWrite, hregPPC_GPR30(mode64)); /* also unavail to RA */ in getRegUsage_PPCInstr()
2618 addHRegUse(u, HRmWrite, hregPPC_GPR29(mode64)); in getRegUsage_PPCInstr()
2619 addHRegUse(u, HRmWrite, hregPPC_GPR30(mode64)); in getRegUsage_PPCInstr()
2622 ppPPCInstr(i, mode64); in getRegUsage_PPCInstr()
2633 void mapRegs_PPCInstr ( HRegRemap* m, PPCInstr* i, Bool mode64 ) in mapRegs_PPCInstr() argument
2954 ppPPCInstr(i, mode64); in mapRegs_PPCInstr()
2995 HReg rreg, Int offsetB, Bool mode64 ) in genSpill_PPC() argument
3000 am = PPCAMode_IR( offsetB, GuestStatePtr(mode64) ); in genSpill_PPC()
3003 vassert(mode64); in genSpill_PPC()
3004 *i1 = PPCInstr_Store( 8, am, rreg, mode64 ); in genSpill_PPC()
3007 vassert(!mode64); in genSpill_PPC()
3008 *i1 = PPCInstr_Store( 4, am, rreg, mode64 ); in genSpill_PPC()
3025 HReg rreg, Int offsetB, Bool mode64 ) in genReload_PPC() argument
3030 am = PPCAMode_IR( offsetB, GuestStatePtr(mode64) ); in genReload_PPC()
3033 vassert(mode64); in genReload_PPC()
3034 *i1 = PPCInstr_Load( 8, rreg, am, mode64 ); in genReload_PPC()
3037 vassert(!mode64); in genReload_PPC()
3038 *i1 = PPCInstr_Load( 4, rreg, am, mode64 ); in genReload_PPC()
3056 inline static UInt iregEnc ( HReg r, Bool mode64 ) in iregEnc() argument
3059 vassert(hregClass(r) == (mode64 ? HRcInt64 : HRcInt32)); in iregEnc()
3354 PPCAMode* am, Bool mode64, VexEndness endness_host ) in doAMode_IR() argument
3360 rA = iregEnc(am->Pam.IR.base, mode64); in doAMode_IR()
3364 vassert(mode64); in doAMode_IR()
3374 UInt rSD, PPCAMode* am, Bool mode64, in doAMode_RR() argument
3380 rA = iregEnc(am->Pam.RR.base, mode64); in doAMode_RR()
3381 rB = iregEnc(am->Pam.RR.index, mode64); in doAMode_RR()
3389 static UChar* mkLoadImm ( UChar* p, UInt r_dst, ULong imm, Bool mode64, in mkLoadImm() argument
3394 if (!mode64) { in mkLoadImm()
3419 vassert(mode64); in mkLoadImm()
3452 UInt r_dst, ULong imm, Bool mode64, in mkLoadImm_EXACTLY2or5() argument
3457 if (!mode64) { in mkLoadImm_EXACTLY2or5()
3466 if (!mode64) { in mkLoadImm_EXACTLY2or5()
3498 UInt r_dst, ULong imm, Bool mode64, in isLoadImm_EXACTLY2or5() argument
3503 if (!mode64) { in isLoadImm_EXACTLY2or5()
3512 if (!mode64) { in isLoadImm_EXACTLY2or5()
3561 UInt reg, PPCAMode* am, Bool mode64, VexEndness endness_host ) in do_load_or_store_machine_word() argument
3564 UInt opc1, sz = mode64 ? 8 : 4; in do_load_or_store_machine_word()
3567 if (mode64) { in do_load_or_store_machine_word()
3571 case 4: opc1 = 32; vassert(!mode64); break; in do_load_or_store_machine_word()
3572 case 8: opc1 = 58; vassert(mode64); break; in do_load_or_store_machine_word()
3575 p = doAMode_IR(p, opc1, reg, am, mode64, endness_host); in do_load_or_store_machine_word()
3585 UInt opc1, sz = mode64 ? 8 : 4; in do_load_or_store_machine_word()
3588 if (mode64) { in do_load_or_store_machine_word()
3592 case 4: opc1 = 36; vassert(!mode64); break; in do_load_or_store_machine_word()
3593 case 8: opc1 = 62; vassert(mode64); break; in do_load_or_store_machine_word()
3596 p = doAMode_IR(p, opc1, reg, am, mode64, endness_host); in do_load_or_store_machine_word()
3613 UInt reg, PPCAMode* am, Bool mode64, VexEndness endness_host ) in do_load_or_store_word32() argument
3619 if (mode64) { in do_load_or_store_word32()
3623 p = doAMode_IR(p, opc1, reg, am, mode64, endness_host); in do_load_or_store_word32()
3636 if (mode64) { in do_load_or_store_word32()
3640 p = doAMode_IR(p, opc1, reg, am, mode64, endness_host); in do_load_or_store_word32()
3734 Bool mode64, VexEndness endness_host, in emit_PPCInstr() argument
3744 vex_printf("asm ");ppPPCInstr(i, mode64); vex_printf("\n"); in emit_PPCInstr()
3750 p = mkLoadImm(p, iregEnc(i->Pin.LI.dst, mode64), in emit_PPCInstr()
3751 i->Pin.LI.imm64, mode64, endness_host); in emit_PPCInstr()
3757 UInt r_dst = iregEnc(i->Pin.Alu.dst, mode64); in emit_PPCInstr()
3758 UInt r_srcL = iregEnc(i->Pin.Alu.srcL, mode64); in emit_PPCInstr()
3760 iregEnc(srcR->Prh.Reg.reg, mode64); in emit_PPCInstr()
3831 UInt r_dst = iregEnc(i->Pin.Shft.dst, mode64); in emit_PPCInstr()
3832 UInt r_srcL = iregEnc(i->Pin.Shft.srcL, mode64); in emit_PPCInstr()
3834 iregEnc(srcR->Prh.Reg.reg, mode64); in emit_PPCInstr()
3835 if (!mode64) in emit_PPCInstr()
3912 if (mode64) in emit_PPCInstr()
3944 UInt r_srcL = iregEnc(i->Pin.AddSubC.srcL, mode64); in emit_PPCInstr()
3945 UInt r_srcR = iregEnc(i->Pin.AddSubC.srcR, mode64); in emit_PPCInstr()
3946 UInt r_dst = iregEnc(i->Pin.AddSubC.dst, mode64); in emit_PPCInstr()
3967 UInt r_srcL = iregEnc(i->Pin.Cmp.srcL, mode64); in emit_PPCInstr()
3971 if (!mode64) // cmp double word invalid for mode32 in emit_PPCInstr()
3988 r_srcR = iregEnc(srcR->Prh.Reg.reg, mode64); in emit_PPCInstr()
4001 UInt r_dst = iregEnc(i->Pin.Unary.dst, mode64); in emit_PPCInstr()
4002 UInt r_src = iregEnc(i->Pin.Unary.src, mode64); in emit_PPCInstr()
4015 vassert(mode64); in emit_PPCInstr()
4019 vassert(mode64); in emit_PPCInstr()
4030 UInt r_dst = iregEnc(i->Pin.MulL.dst, mode64); in emit_PPCInstr()
4031 UInt r_srcL = iregEnc(i->Pin.MulL.srcL, mode64); in emit_PPCInstr()
4032 UInt r_srcR = iregEnc(i->Pin.MulL.srcR, mode64); in emit_PPCInstr()
4034 if (!mode64) in emit_PPCInstr()
4067 UInt r_dst = iregEnc(i->Pin.Div.dst, mode64); in emit_PPCInstr()
4068 UInt r_srcL = iregEnc(i->Pin.Div.srcL, mode64); in emit_PPCInstr()
4069 UInt r_srcR = iregEnc(i->Pin.Div.srcR, mode64); in emit_PPCInstr()
4071 if (!mode64) in emit_PPCInstr()
4135 p = mkLoadImm(p, r_dst, i->Pin.Call.target, mode64, endness_host); in emit_PPCInstr()
4177 if (!mode64) vassert(0 == (((ULong)i->Pin.XDirect.dstGA) >> 32)); in emit_PPCInstr()
4178 p = mkLoadImm(p, /*r*/30, (ULong)i->Pin.XDirect.dstGA, mode64, in emit_PPCInstr()
4183 /*r*/30, i->Pin.XDirect.amCIA, mode64, endness_host in emit_PPCInstr()
4196 p, /*r*/30, (Addr)disp_cp_chain_me, mode64, endness_host); in emit_PPCInstr()
4239 iregEnc(i->Pin.XIndir.dstGA, mode64), in emit_PPCInstr()
4240 i->Pin.XIndir.amCIA, mode64, endness_host in emit_PPCInstr()
4244 p = mkLoadImm(p, /*r*/30, (ULong)(Addr)disp_cp_xindir, mode64, in emit_PPCInstr()
4279 iregEnc(i->Pin.XIndir.dstGA, mode64), in emit_PPCInstr()
4280 i->Pin.XIndir.amCIA, mode64, endness_host in emit_PPCInstr()
4309 p = mkLoadImm(p, /*r*/31, trcval, mode64, endness_host); in emit_PPCInstr()
4313 (ULong)(Addr)disp_cp_xassisted, mode64, in emit_PPCInstr()
4337 r_dst = iregEnc(i->Pin.CMov.dst, mode64); in emit_PPCInstr()
4353 p = mkLoadImm(p, r_dst, imm_src, mode64, endness_host); // p += 4|8|20 in emit_PPCInstr()
4356 r_src = iregEnc(i->Pin.CMov.src->Pri.Reg, mode64); in emit_PPCInstr()
4375 UInt r_dst = iregEnc(i->Pin.Load.dst, mode64); in emit_PPCInstr()
4379 if (mode64 && (sz == 4 || sz == 8)) { in emit_PPCInstr()
4387 case 8: opc1 = 58; vassert(mode64); break; in emit_PPCInstr()
4390 p = doAMode_IR(p, opc1, r_dst, am_addr, mode64, endness_host); in emit_PPCInstr()
4397 case 8: opc2 = 21; vassert(mode64); break; in emit_PPCInstr()
4400 p = doAMode_RR(p, 31, opc2, r_dst, am_addr, mode64, endness_host); in emit_PPCInstr()
4409 p = mkFormX(p, 31, iregEnc(i->Pin.LoadL.dst, mode64), in emit_PPCInstr()
4410 0, iregEnc(i->Pin.LoadL.src, mode64), 52, 0, endness_host); in emit_PPCInstr()
4414 p = mkFormX(p, 31, iregEnc(i->Pin.LoadL.dst, mode64), in emit_PPCInstr()
4415 0, iregEnc(i->Pin.LoadL.src, mode64), 116, 0, endness_host); in emit_PPCInstr()
4419 p = mkFormX(p, 31, iregEnc(i->Pin.LoadL.dst, mode64), in emit_PPCInstr()
4420 0, iregEnc(i->Pin.LoadL.src, mode64), 20, 0, endness_host); in emit_PPCInstr()
4423 if (i->Pin.LoadL.sz == 8 && mode64) { in emit_PPCInstr()
4424 p = mkFormX(p, 31, iregEnc(i->Pin.LoadL.dst, mode64), in emit_PPCInstr()
4425 0, iregEnc(i->Pin.LoadL.src, mode64), 84, 0, endness_host); in emit_PPCInstr()
4434 UInt r_dst = iregEnc(i->Pin.Set.dst, mode64); in emit_PPCInstr()
4463 p = mkFormX(p, 31, iregEnc(i->Pin.MfCR.dst, mode64), 0, 0, 19, 0, in emit_PPCInstr()
4476 UInt r_src = iregEnc(i->Pin.Store.src, mode64); in emit_PPCInstr()
4480 if (mode64 && (sz == 4 || sz == 8)) { in emit_PPCInstr()
4488 case 8: vassert(mode64); in emit_PPCInstr()
4493 p = doAMode_IR(p, opc1, r_src, am_addr, mode64, endness_host); in emit_PPCInstr()
4500 case 8: vassert(mode64); in emit_PPCInstr()
4505 p = doAMode_RR(p, 31, opc2, r_src, am_addr, mode64, endness_host); in emit_PPCInstr()
4515 p = mkFormX(p, 31, iregEnc(i->Pin.StoreC.src, mode64), in emit_PPCInstr()
4516 0, iregEnc(i->Pin.StoreC.dst, mode64), 694, 1, endness_host); in emit_PPCInstr()
4520 p = mkFormX(p, 31, iregEnc(i->Pin.StoreC.src, mode64), in emit_PPCInstr()
4521 0, iregEnc(i->Pin.StoreC.dst, mode64), 726, 1, endness_host); in emit_PPCInstr()
4526 p = mkFormX(p, 31, iregEnc(i->Pin.StoreC.src, mode64), in emit_PPCInstr()
4527 0, iregEnc(i->Pin.StoreC.dst, mode64), 150, 1, endness_host); in emit_PPCInstr()
4530 if (i->Pin.StoreC.sz == 8 && mode64) { in emit_PPCInstr()
4531 p = mkFormX(p, 31, iregEnc(i->Pin.StoreC.src, mode64), in emit_PPCInstr()
4532 0, iregEnc(i->Pin.StoreC.dst, mode64), 214, 1, endness_host); in emit_PPCInstr()
4652 p = doAMode_RR(p, 31, opc, f_reg, am_addr, mode64, endness_host); in emit_PPCInstr()
4655 p = doAMode_IR(p, opc, f_reg, am_addr, mode64, endness_host); in emit_PPCInstr()
4660 p = doAMode_RR(p, 31, opc, f_reg, am_addr, mode64, endness_host); in emit_PPCInstr()
4663 p = doAMode_IR(p, opc, f_reg, am_addr, mode64, endness_host); in emit_PPCInstr()
4670 UInt ir_addr = iregEnc(i->Pin.FpSTFIW.addr, mode64); in emit_PPCInstr()
4758 UInt r_dst = iregEnc(i->Pin.FpCmp.dst, mode64); in emit_PPCInstr()
4775 UInt reg = iregEnc(i->Pin.RdWrLR.gpr, mode64); in emit_PPCInstr()
4791 r_base = iregEnc(i->Pin.AvLdSt.addr->Pam.RR.base, mode64); in emit_PPCInstr()
4797 i->Pin.AvLdSt.addr->Pam.IR.index, mode64, endness_host); in emit_PPCInstr()
4799 r_idx = iregEnc(i->Pin.AvLdSt.addr->Pam.RR.index, mode64); in emit_PPCInstr()
5224 r_base = iregEnc(i->Pin.AvSh.addr->Pam.RR.base, mode64); in emit_PPCInstr()
5229 i->Pin.AvSh.addr->Pam.IR.index, mode64, endness_host); in emit_PPCInstr()
5231 r_idx = iregEnc(i->Pin.AvSh.addr->Pam.RR.index, mode64); in emit_PPCInstr()
5707 UInt r_dst = iregEnc(i->Pin.Dfp64Cmp.dst, mode64); in emit_PPCInstr()
5725 UInt r_dst = iregEnc(i->Pin.Dfp128Cmp.dst, mode64); in emit_PPCInstr()
5767 i->Pin.EvCheck.amCounter, mode64, in emit_PPCInstr()
5773 i->Pin.EvCheck.amCounter, mode64, in emit_PPCInstr()
5779 i->Pin.EvCheck.amFailAddr, mode64, in emit_PPCInstr()
5812 if (mode64) { in emit_PPCInstr()
5840 ppPPCInstr(i, mode64); in emit_PPCInstr()
5865 Bool mode64 ) in chainXDirect_PPC() argument
5867 if (mode64) { in chainXDirect_PPC()
5887 mode64, endness_host)); in chainXDirect_PPC()
5888 vassert(fetch32(p + (mode64 ? 20 : 8) + 0, endness_host) == 0x7FC903A6); in chainXDirect_PPC()
5889 vassert(fetch32(p + (mode64 ? 20 : 8) + 4, endness_host) == 0x4E800421); in chainXDirect_PPC()
5901 (Addr)place_to_jump_to, mode64, in chainXDirect_PPC()
5907 vassert(len == (mode64 ? 28 : 16)); /* stay sane */ in chainXDirect_PPC()
5919 Bool mode64 ) in unchainXDirect_PPC() argument
5921 if (mode64) { in unchainXDirect_PPC()
5941 mode64, endness_host)); in unchainXDirect_PPC()
5942 vassert(fetch32(p + (mode64 ? 20 : 8) + 0, endness_host) == 0x7FC903A6); in unchainXDirect_PPC()
5943 vassert(fetch32(p + (mode64 ? 20 : 8) + 4, endness_host) == 0x4E800420); in unchainXDirect_PPC()
5955 (Addr)disp_cp_chain_me, mode64, in unchainXDirect_PPC()
5961 vassert(len == (mode64 ? 28 : 16)); /* stay sane */ in unchainXDirect_PPC()
5972 Bool mode64 ) in patchProfInc_PPC() argument
5974 if (mode64) { in patchProfInc_PPC()
5985 if (mode64) { in patchProfInc_PPC()