Home
last modified time | relevance | path

Searched refs:addInstr (Results 1 – 6 of 6) sorted by relevance

/external/valgrind/main/VEX/priv/
Dhost_x86_isel.c209 static void addInstr ( ISelEnv* env, X86Instr* instr ) in addInstr() function
311 addInstr(env, in add_to_esp()
318 addInstr(env, in sub_from_esp()
349 addInstr(env, X86Instr_Push(iselIntExpr_RMI(env, arg))); in pushArg()
355 addInstr(env, X86Instr_Push(X86RMI_Reg(rHi))); in pushArg()
356 addInstr(env, X86Instr_Push(X86RMI_Reg(rLo))); in pushArg()
376 addInstr(env, X86Instr_Call( cc, toUInt(Ptr_to_ULong(cee->addr)), in callHelperAndClearArgs()
528 addInstr( env, mk_iMOVsd_RR( tmpregs[argregX], argregs[argregX] ) ); in doHelperCall()
538 addInstr(env, X86Instr_Alu32R(Xalu_MOV, in doHelperCall()
549 addInstr(env, mk_iMOVsd_RR( hregX86_EBP(), argregs[0])); in doHelperCall()
[all …]
Dhost_amd64_isel.c176 static void addInstr ( ISelEnv* env, AMD64Instr* instr ) in addInstr() function
323 addInstr(env, in add_to_rsp()
331 addInstr(env, in sub_from_rsp()
343 addInstr( env, AMD64Instr_Push(AMD64RMI_Imm( (UInt)uimm64 )) ); in push_uimm64()
346 addInstr( env, AMD64Instr_Imm64(uimm64, tmp) ); in push_uimm64()
347 addInstr( env, AMD64Instr_Push(AMD64RMI_Reg(tmp)) ); in push_uimm64()
530 addInstr(env, fastinstrs[i]); in doHelperCall()
551 addInstr(env, mk_iMOVsd_RR( hregAMD64_RBP(), tmpregs[argreg])); in doHelperCall()
581 addInstr( env, mk_iMOVsd_RR( tmpregs[i], argregs[i] ) ); in doHelperCall()
587 addInstr(env, AMD64Instr_Call( in doHelperCall()
[all …]
Dhost_mips_isel.c156 static void addInstr(ISelEnv * env, MIPSInstr * instr) in addInstr() function
192 addInstr(env, MIPSInstr_Alu(Malu_ADD, sp, sp, MIPSRH_Imm(True, in add_to_sp()
200 addInstr(env, MIPSInstr_Alu(Malu_SUB, sp, sp, in sub_from_sp()
272 addInstr(env, MIPSInstr_Shft(Mshft_SLL, True, tmp, irrm, in set_MIPS_rounding_mode()
274 addInstr(env, MIPSInstr_Alu(Malu_XOR, tmp, irrm, MIPSRH_Reg(tmp))); in set_MIPS_rounding_mode()
275 addInstr(env, MIPSInstr_Alu(Malu_AND, irrm, tmp, MIPSRH_Imm(False, 3))); in set_MIPS_rounding_mode()
277 addInstr(env, MIPSInstr_MfFCSR(fcsr_old)); in set_MIPS_rounding_mode()
282 addInstr(env, MIPSInstr_Store(4, am_addr, fcsr_old, mode64)); in set_MIPS_rounding_mode()
285 addInstr(env, MIPSInstr_MtFCSR(irrm)); in set_MIPS_rounding_mode()
295 addInstr(env, MIPSInstr_Load(4, fcsr, am_addr, mode64)); in set_MIPS_rounding_default()
[all …]
Dhost_s390_isel.c170 addInstr(ISelEnv *env, s390_insn *insn) in addInstr() function
492 addInstr(env, s390_insn_move(sizeof(ULong), tmpregs[argreg], in doHelperCall()
522 addInstr(env, s390_insn_move(size, finalreg, tmpregs[i])); in doHelperCall()
528 addInstr(env, s390_insn_helper_call(cc, (Addr64)target, n_args, in doHelperCall()
575 addInstr(env, s390_insn_move(4, cc0, cc_s390)); in convert_s390_fpcc_to_vex()
576 addInstr(env, s390_insn_alu(4, S390_ALU_AND, cc0, s390_opnd_imm(1))); in convert_s390_fpcc_to_vex()
579 addInstr(env, s390_insn_move(4, cc1, cc_s390)); in convert_s390_fpcc_to_vex()
580 addInstr(env, s390_insn_alu(4, S390_ALU_RSH, cc1, s390_opnd_imm(1))); in convert_s390_fpcc_to_vex()
583 addInstr(env, s390_insn_move(4, b2, cc0)); in convert_s390_fpcc_to_vex()
584 addInstr(env, s390_insn_alu(4, S390_ALU_AND, b2, s390_opnd_reg(cc1))); in convert_s390_fpcc_to_vex()
[all …]
Dhost_arm_isel.c145 static void addInstr ( ISelEnv* env, ARMInstr* instr ) in addInstr() function
304 addInstr(env, ARMInstr_Imm32(rTmp, DEFAULT_FPSCR)); in set_VFP_rounding_default()
305 addInstr(env, ARMInstr_FPSCR(True/*toFPSCR*/, rTmp)); in set_VFP_rounding_default()
342 addInstr(env, ARMInstr_Shift(ARMsh_SHL, tL, irrm, ARMRI5_I5(1))); in set_VFP_rounding_mode()
343 addInstr(env, ARMInstr_Shift(ARMsh_SHR, tR, irrm, ARMRI5_I5(1))); in set_VFP_rounding_mode()
344 addInstr(env, ARMInstr_Alu(ARMalu_AND, tL, tL, ARMRI84_I84(2,0))); in set_VFP_rounding_mode()
345 addInstr(env, ARMInstr_Alu(ARMalu_AND, tR, tR, ARMRI84_I84(1,0))); in set_VFP_rounding_mode()
346 addInstr(env, ARMInstr_Alu(ARMalu_OR, t3, tL, ARMRI84_R(tR))); in set_VFP_rounding_mode()
347 addInstr(env, ARMInstr_Shift(ARMsh_SHL, t3, t3, ARMRI5_I5(22))); in set_VFP_rounding_mode()
348 addInstr(env, ARMInstr_FPSCR(True/*toFPSCR*/, t3)); in set_VFP_rounding_mode()
[all …]
Dhost_ppc_isel.c327 static void addInstr ( ISelEnv* env, PPCInstr* instr ) in addInstr() function
486 addInstr(env, PPCInstr_Alu( Palu_ADD, sp, sp, in add_to_sp()
494 addInstr(env, PPCInstr_Alu( Palu_SUB, sp, sp, in sub_from_sp()
508 addInstr(env, mk_iMOVds_RR(r, StackFramePtr(env->mode64))); in get_sp_aligned16()
510 addInstr(env, PPCInstr_Alu( Palu_ADD, r, r, in get_sp_aligned16()
513 addInstr(env, in get_sp_aligned16()
515 addInstr(env, PPCInstr_Alu(Palu_AND, r,r, PPCRH_Reg(align16))); in get_sp_aligned16()
537 addInstr(env, PPCInstr_Store( 4, am_addr0, r_srcHi, env->mode64 )); in mk_LoadRR32toFPR()
538 addInstr(env, PPCInstr_Store( 4, am_addr1, r_srcLo, env->mode64 )); in mk_LoadRR32toFPR()
541 addInstr(env, PPCInstr_FpLdSt(True/*load*/, 8, fr_dst, am_addr0)); in mk_LoadRR32toFPR()
[all …]