Home
last modified time | relevance | path

Searched refs:mode64 (Results 1 – 25 of 25) sorted by relevance

/external/valgrind/VEX/priv/
Dhost_mips_defs.h55 ST_IN HReg hregMIPS_GPR16 ( Bool mode64 ) { return GPR(mode64, 16, 0, 0); } in hregMIPS_GPR16() argument
56 ST_IN HReg hregMIPS_GPR17 ( Bool mode64 ) { return GPR(mode64, 17, 1, 1); } in hregMIPS_GPR17() argument
57 ST_IN HReg hregMIPS_GPR18 ( Bool mode64 ) { return GPR(mode64, 18, 2, 2); } in hregMIPS_GPR18() argument
58 ST_IN HReg hregMIPS_GPR19 ( Bool mode64 ) { return GPR(mode64, 19, 3, 3); } in hregMIPS_GPR19() argument
59 ST_IN HReg hregMIPS_GPR20 ( Bool mode64 ) { return GPR(mode64, 20, 4, 4); } in hregMIPS_GPR20() argument
60 ST_IN HReg hregMIPS_GPR21 ( Bool mode64 ) { return GPR(mode64, 21, 5, 5); } in hregMIPS_GPR21() argument
61 ST_IN HReg hregMIPS_GPR22 ( Bool mode64 ) { return GPR(mode64, 22, 6, 6); } in hregMIPS_GPR22() argument
63 ST_IN HReg hregMIPS_GPR12 ( Bool mode64 ) { return GPR(mode64, 12, 7, 7); } in hregMIPS_GPR12() argument
64 ST_IN HReg hregMIPS_GPR13 ( Bool mode64 ) { return GPR(mode64, 13, 8, 8); } in hregMIPS_GPR13() argument
65 ST_IN HReg hregMIPS_GPR14 ( Bool mode64 ) { return GPR(mode64, 14, 9, 9); } in hregMIPS_GPR14() argument
[all …]
Dhost_mips_defs.c48 const RRegUniverse* getRRegUniverse_MIPS ( Bool mode64 ) in getRRegUniverse_MIPS() argument
60 UInt howNeeded = mode64 ? 2 : 1; in getRRegUniverse_MIPS()
69 ru->regs[ru->size++] = hregMIPS_GPR16(mode64); in getRRegUniverse_MIPS()
70 ru->regs[ru->size++] = hregMIPS_GPR17(mode64); in getRRegUniverse_MIPS()
71 ru->regs[ru->size++] = hregMIPS_GPR18(mode64); in getRRegUniverse_MIPS()
72 ru->regs[ru->size++] = hregMIPS_GPR19(mode64); in getRRegUniverse_MIPS()
73 ru->regs[ru->size++] = hregMIPS_GPR20(mode64); in getRRegUniverse_MIPS()
74 ru->regs[ru->size++] = hregMIPS_GPR21(mode64); in getRRegUniverse_MIPS()
75 ru->regs[ru->size++] = hregMIPS_GPR22(mode64); in getRRegUniverse_MIPS()
77 ru->regs[ru->size++] = hregMIPS_GPR12(mode64); in getRRegUniverse_MIPS()
[all …]
Dhost_ppc_defs.h60 ST_IN HReg hregPPC_GPR3 ( Bool mode64 ) { return GPR(mode64, 3, 0, 0); } in hregPPC_GPR3() argument
61 ST_IN HReg hregPPC_GPR4 ( Bool mode64 ) { return GPR(mode64, 4, 1, 1); } in hregPPC_GPR4() argument
62 ST_IN HReg hregPPC_GPR5 ( Bool mode64 ) { return GPR(mode64, 5, 2, 2); } in hregPPC_GPR5() argument
63 ST_IN HReg hregPPC_GPR6 ( Bool mode64 ) { return GPR(mode64, 6, 3, 3); } in hregPPC_GPR6() argument
64 ST_IN HReg hregPPC_GPR7 ( Bool mode64 ) { return GPR(mode64, 7, 4, 4); } in hregPPC_GPR7() argument
65 ST_IN HReg hregPPC_GPR8 ( Bool mode64 ) { return GPR(mode64, 8, 5, 5); } in hregPPC_GPR8() argument
66 ST_IN HReg hregPPC_GPR9 ( Bool mode64 ) { return GPR(mode64, 9, 6, 6); } in hregPPC_GPR9() argument
67 ST_IN HReg hregPPC_GPR10 ( Bool mode64 ) { return GPR(mode64, 10, 7, 7); } in hregPPC_GPR10() argument
71 ST_IN HReg hregPPC_GPR11 ( Bool mode64 ) { return GPR(mode64, 11, 0, 8); } in hregPPC_GPR11() argument
72 ST_IN HReg hregPPC_GPR12 ( Bool mode64 ) { return GPR(mode64, 12, 0, 9); } in hregPPC_GPR12() argument
[all …]
Dhost_mips_isel.c53 static Bool mode64 = False; variable
121 Bool mode64; member
152 vassert(env->mode64); in lookupIRTempPair()
164 ppMIPSInstr(instr, mode64); in addInstr()
172 HRcGPR(env->mode64), 0/*enc*/, env->vreg_ctr); in newVRegI()
188 HRcFPR(env->mode64), 0/*enc*/, env->vreg_ctr); in newVRegF()
195 HReg sp = StackPointer(mode64); in add_to_sp()
197 if (mode64) in add_to_sp()
207 HReg sp = StackPointer(mode64); in sub_from_sp()
209 if (mode64) in sub_from_sp()
[all …]
Dhost_ppc_isel.c286 Bool mode64; member
323 vassert(!env->mode64); in lookupIRTempQuad()
337 ppPPCInstr(instr, env->mode64); in addInstr()
345 = mkHReg(True/*vreg*/, HRcGPR(env->mode64), 0/*enc*/, env->vreg_ctr); in newVRegI()
525 HReg sp = StackFramePtr(env->mode64); in add_to_sp()
533 HReg sp = StackFramePtr(env->mode64); in sub_from_sp()
549 addInstr(env, mk_iMOVds_RR(r, StackFramePtr(env->mode64))); in get_sp_aligned16()
555 PPCInstr_LI(align16, 0xFFFFFFFFFFFFFFF0ULL, env->mode64)); in get_sp_aligned16()
569 vassert(!env->mode64); in mk_LoadRR32toFPR()
574 am_addr0 = PPCAMode_IR( 0, StackFramePtr(env->mode64) ); in mk_LoadRR32toFPR()
[all …]
Dhost_ppc_defs.c47 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()
[all …]
Dguest_mips_toIR.c73 static Bool mode64 = False; variable
103 if (!mode64) in integerGuestRegOffset()
258 if (!mode64) in floatGuestRegOffset()
405 vassert(!mode64); in accumulatorGuestRegOffset()
464 t1 = newTemp(mode64 ? Ity_I64 : Ity_I32); \
465 if(!mode64) \
473 t1 = newTemp(mode64 ? Ity_I64 : Ity_I32); \
474 if(!mode64) \
1026 vassert(!mode64); in getAcc()
1035 vassert(!mode64); in getDSPControl()
[all …]
Dhost_generic_reg_alloc2.c392 Bool mode64 in doRegisterAllocation()
466 (*ppInstr)(_tmp, mode64); \ in doRegisterAllocation()
590 (*getRegUsage)( &reg_usage_arr[ii], instrs_in->arr[ii], mode64 ); in doRegisterAllocation()
594 (*ppInstr)(instrs_in->arr[ii], mode64); in doRegisterAllocation()
610 (*ppInstr)(instrs_in->arr[ii], mode64); in doRegisterAllocation()
718 (*ppInstr)(instrs_in->arr[ii], mode64); in doRegisterAllocation()
731 (*ppInstr)(instrs_in->arr[ii], mode64); in doRegisterAllocation()
987 (*ppInstr)(instrs_in->arr[ii], mode64); in doRegisterAllocation()
1228 vreg_lrs[m].spill_offset, mode64 ); in doRegisterAllocation()
1312 ppInstr(instrs_in->arr[ii], mode64); in doRegisterAllocation()
[all …]
Dmain_main.c358 Bool mode64, chainingAllowed; in LibVEX_Translate() local
383 mode64 = False; in LibVEX_Translate()
410 mode64 = False; in LibVEX_Translate()
428 mode64 = True; in LibVEX_Translate()
445 mode64 = False; in LibVEX_Translate()
446 rRegUniv = PPC32FN(getRRegUniverse_PPC(mode64)); in LibVEX_Translate()
462 mode64 = True; in LibVEX_Translate()
463 rRegUniv = PPC64FN(getRRegUniverse_PPC(mode64)); in LibVEX_Translate()
480 mode64 = True; in LibVEX_Translate()
500 mode64 = False; in LibVEX_Translate()
[all …]
Dguest_ppc_toIR.c221 static Bool mode64 = False; variable
266 (mode64 ? offsetof(VexGuestPPC64State, _x) : \
1164 IRType ty = mode64 ? Ity_I64 : Ity_I32; in getIReg()
1172 IRType ty = mode64 ? Ity_I64 : Ity_I32; in putIReg()
1558 vassert(mode64); in gen_POPCOUNT()
1596 vassert(!mode64); in gen_vpopcntd_mode32()
1671 IRType ty = mode64 ? Ity_I64 : Ity_I32; in ea_rA_idxd()
1680 IRType ty = mode64 ? Ity_I64 : Ity_I32; in ea_rA_simm()
1689 IRType ty = mode64 ? Ity_I64 : Ity_I32; in ea_rAor0()
1709 IRType ty = mode64 ? Ity_I64 : Ity_I32; in ea_rAor0_simm()
[all …]
Dhost_tilegx_defs.h545 Bool mode64 );
550 Bool mode64 );
554 Bool mode64 );
Dhost_generic_regs.h478 Bool mode64
Dhost_x86_defs.c926 void ppX86Instr ( const X86Instr* i, Bool mode64 ) { in ppX86Instr() argument
927 vassert(mode64 == False); in ppX86Instr()
1222 void getRegUsage_X86Instr (HRegUsage* u, const X86Instr* i, Bool mode64) in getRegUsage_X86Instr() argument
1225 vassert(mode64 == False); in getRegUsage_X86Instr()
1498 void mapRegs_X86Instr ( HRegRemap* m, X86Instr* i, Bool mode64 ) in mapRegs_X86Instr() argument
1500 vassert(mode64 == False); in mapRegs_X86Instr()
1661 ppX86Instr(i, mode64); in mapRegs_X86Instr()
1706 HReg rreg, Int offsetB, Bool mode64 ) in genSpill_X86() argument
1711 vassert(mode64 == False); in genSpill_X86()
1731 HReg rreg, Int offsetB, Bool mode64 ) in genReload_X86() argument
[all …]
Dhost_tilegx_defs.c1507 Bool mode64, in emit_TILEGXInstr() argument
1519 vassert (mode64); in emit_TILEGXInstr()
2508 Bool mode64 ) in chainXDirect_TILEGX() argument
2510 vassert(mode64); in chainXDirect_TILEGX()
2567 Bool mode64 ) in unchainXDirect_TILEGX() argument
2569 vassert(mode64); in unchainXDirect_TILEGX()
2612 Bool mode64 ) in patchProfInc_TILEGX() argument
2614 vassert(mode64); in patchProfInc_TILEGX()
Dhost_amd64_defs.c1038 void ppAMD64Instr ( const AMD64Instr* i, Bool mode64 ) in ppAMD64Instr() argument
1040 vassert(mode64 == True); in ppAMD64Instr()
1394 void getRegUsage_AMD64Instr ( HRegUsage* u, const AMD64Instr* i, Bool mode64 ) in getRegUsage_AMD64Instr() argument
1397 vassert(mode64 == True); in getRegUsage_AMD64Instr()
1709 ppAMD64Instr(i, mode64); in getRegUsage_AMD64Instr()
1720 void mapRegs_AMD64Instr ( HRegRemap* m, AMD64Instr* i, Bool mode64 ) in mapRegs_AMD64Instr() argument
1722 vassert(mode64 == True); in mapRegs_AMD64Instr()
1908 ppAMD64Instr(i, mode64); in mapRegs_AMD64Instr()
1955 HReg rreg, Int offsetB, Bool mode64 ) in genSpill_AMD64() argument
1960 vassert(mode64 == True); in genSpill_AMD64()
[all …]
Dhost_arm_defs.c2007 void getRegUsage_ARMInstr ( HRegUsage* u, const ARMInstr* i, Bool mode64 ) in getRegUsage_ARMInstr() argument
2009 vassert(mode64 == False); in getRegUsage_ARMInstr()
2313 void mapRegs_ARMInstr ( HRegRemap* m, ARMInstr* i, Bool mode64 ) in mapRegs_ARMInstr() argument
2315 vassert(mode64 == False); in mapRegs_ARMInstr()
2557 HReg rreg, Int offsetB, Bool mode64 ) in genSpill_ARM() argument
2562 vassert(mode64 == False); in genSpill_ARM()
2612 HReg rreg, Int offsetB, Bool mode64 ) in genReload_ARM() argument
2617 vassert(mode64 == False); in genReload_ARM()
2958 Bool mode64, VexEndness endness_host, in emit_ARMInstr() argument
2966 vassert(mode64 == False); in emit_ARMInstr()
Dhost_arm64_defs.c1904 void getRegUsage_ARM64Instr ( HRegUsage* u, const ARM64Instr* i, Bool mode64 ) in getRegUsage_ARM64Instr() argument
1906 vassert(mode64 == True); in getRegUsage_ARM64Instr()
2231 void mapRegs_ARM64Instr ( HRegRemap* m, ARM64Instr* i, Bool mode64 ) in mapRegs_ARM64Instr() argument
2233 vassert(mode64 == True); in mapRegs_ARM64Instr()
2505 HReg rreg, Int offsetB, Bool mode64 ) in genSpill_ARM64() argument
2510 vassert(mode64 == True); in genSpill_ARM64()
2546 HReg rreg, Int offsetB, Bool mode64 ) in genReload_ARM64() argument
2551 vassert(mode64 == True); in genReload_ARM64()
3252 Bool mode64, VexEndness endness_host, in emit_ARM64Instr() argument
3260 vassert(mode64 == True); in emit_ARM64Instr()
Dhost_x86_defs.h722 Bool mode64,
Dhost_s390_defs.h738 void ppS390Instr(const s390_insn *, Bool mode64);
Dhost_amd64_defs.h793 Bool mode64,
Dhost_arm_defs.h1032 Bool mode64,
Dhost_arm64_defs.h966 Bool mode64,
Dhost_tilegx_isel.c108 Bool mode64; member
1793 env->mode64 = True; in iselSB_TILEGX()
Dhost_s390_defs.c364 ppS390Instr(const s390_insn *insn, Bool mode64) in ppS390Instr() argument
442 getRegUsage_S390Instr(HRegUsage *u, const s390_insn *insn, Bool mode64) in getRegUsage_S390Instr() argument
450 mapRegs_S390Instr(HRegRemap *m, s390_insn *insn, Bool mode64) in mapRegs_S390Instr() argument
470 genSpill_S390(HInstr **i1, HInstr **i2, HReg rreg, Int offsetB, Bool mode64) in genSpill_S390() argument
496 genReload_S390(HInstr **i1, HInstr **i2, HReg rreg, Int offsetB, Bool mode64) in genReload_S390() argument
9833 Bool mode64, VexEndness endness_host, in emit_S390Instr() argument
/external/valgrind/none/tests/
Dlibvex_test.c139 static Bool mode64 (VexArch va) { in mode64() function
164 mode64(vta->arch_guest) ? 64 : 32, in show_vta()
168 mode64(vta->arch_host) ? 64 : 32); in show_vta()
281 if (mode64(va) != mode64(guest_arch) in main()