Lines Matching defs:seg_reg
2542 static inline void gen_op_movl_T0_seg(int seg_reg)
2545 offsetof(CPUX86State,segs[seg_reg].selector));
2548 static inline void gen_op_movl_seg_T0_vm(int seg_reg)
2552 offsetof(CPUX86State,segs[seg_reg].selector));
2555 offsetof(CPUX86State,segs[seg_reg].base));
2558 /* move T0 to seg_reg and compute if the CPU state may change. Never
2559 call this function with seg_reg == R_CS */
2560 static void gen_movl_seg_T0(DisasContext *s, int seg_reg, target_ulong cur_eip)
2567 gen_helper_load_seg(cpu_env, tcg_const_i32(seg_reg), cpu_tmp2_i32);
2572 if (seg_reg == R_SS || (s->code32 && seg_reg < R_FS))
2575 gen_op_movl_seg_T0_vm(seg_reg);
2576 if (seg_reg == R_SS)