Lines Matching refs:a
1660 static TCGv gen_lea_modrm_1(DisasContext *s, AddressParts a, bool is_vsib) in gen_lea_modrm_1() argument
1664 if (a.index >= 0 && !is_vsib) { in gen_lea_modrm_1()
1665 if (a.scale == 0) { in gen_lea_modrm_1()
1666 ea = cpu_regs[a.index]; in gen_lea_modrm_1()
1668 tcg_gen_shli_tl(s->A0, cpu_regs[a.index], a.scale); in gen_lea_modrm_1()
1671 if (a.base >= 0) { in gen_lea_modrm_1()
1672 tcg_gen_add_tl(s->A0, ea, cpu_regs[a.base]); in gen_lea_modrm_1()
1675 } else if (a.base >= 0) { in gen_lea_modrm_1()
1676 ea = cpu_regs[a.base]; in gen_lea_modrm_1()
1679 if (tb_cflags(s->base.tb) & CF_PCREL && a.base == -2) { in gen_lea_modrm_1()
1681 tcg_gen_addi_tl(s->A0, cpu_eip, a.disp - s->pc_save); in gen_lea_modrm_1()
1683 tcg_gen_movi_tl(s->A0, a.disp); in gen_lea_modrm_1()
1686 } else if (a.disp != 0) { in gen_lea_modrm_1()
1687 tcg_gen_addi_tl(s->A0, ea, a.disp); in gen_lea_modrm_1()
1696 AddressParts a = gen_lea_modrm_0(env, s, modrm, false); in gen_lea_modrm() local
1697 TCGv ea = gen_lea_modrm_1(s, a, false); in gen_lea_modrm()
1698 gen_lea_v_seg(s, ea, a.def_seg, s->override); in gen_lea_modrm()
1710 AddressParts a = gen_lea_modrm_0(env, s, modrm, false); in gen_bndck() local
1711 TCGv ea = gen_lea_modrm_1(s, a, false); in gen_bndck()
2431 AddressParts a = gen_lea_modrm_0(env, s, modrm, false); in disas_insn_x87() local
2432 TCGv ea = gen_lea_modrm_1(s, a, false); in disas_insn_x87()
2437 gen_lea_v_seg(s, ea, a.def_seg, s->override); in disas_insn_x87()
2631 int last_seg = s->override >= 0 ? s->override : a.def_seg; in disas_insn_x87()
3092 AddressParts a = gen_lea_modrm_0(env, s, modrm, false); in disas_insn_old() local
3097 tcg_gen_add_tl(s->A0, gen_lea_modrm_1(s, a, false), s->tmp0); in disas_insn_old()
3098 gen_lea_v_seg(s, s->A0, a.def_seg, s->override); in disas_insn_old()
3649 AddressParts a = gen_lea_modrm_0(env, s, modrm, false); in disas_insn_old() local
3653 || a.base < -1) { in disas_insn_old()
3656 if (a.base >= 0) { in disas_insn_old()
3657 tcg_gen_addi_tl(s->A0, cpu_regs[a.base], a.disp); in disas_insn_old()
3661 gen_lea_v_seg(s, s->A0, a.def_seg, s->override); in disas_insn_old()
3662 if (a.index >= 0) { in disas_insn_old()
3663 tcg_gen_mov_tl(s->T0, cpu_regs[a.index]); in disas_insn_old()
3693 AddressParts a = gen_lea_modrm_0(env, s, modrm, false); in disas_insn_old() local
3694 if (a.base >= 0) { in disas_insn_old()
3695 tcg_gen_extu_tl_i64(cpu_bndl[reg], cpu_regs[a.base]); in disas_insn_old()
3699 } else if (a.base == -1) { in disas_insn_old()
3706 tcg_gen_not_tl(s->A0, gen_lea_modrm_1(s, a, false)); in disas_insn_old()
3754 AddressParts a = gen_lea_modrm_0(env, s, modrm, false); in disas_insn_old() local
3758 || a.base < -1) { in disas_insn_old()
3761 if (a.base >= 0) { in disas_insn_old()
3762 tcg_gen_addi_tl(s->A0, cpu_regs[a.base], a.disp); in disas_insn_old()
3766 gen_lea_v_seg(s, s->A0, a.def_seg, s->override); in disas_insn_old()
3767 if (a.index >= 0) { in disas_insn_old()
3768 tcg_gen_mov_tl(s->T0, cpu_regs[a.index]); in disas_insn_old()