Re: [PATCH v2 06/37] target/i386: add ALU load/writeback core

2022-09-24 Thread Richard Henderson
On 9/20/22 17:24, Paolo Bonzini wrote: +static void gen_load_sse(DisasContext *s, TCGv temp, MemOp ot, int dest_ofs, bool aligned) +{ +if (ot == MO_8) { +gen_op_ld_v(s, MO_8, temp, s->A0); +tcg_gen_st8_tl(temp, cpu_env, dest_ofs); +} else if (ot == MO_16) { switch +

[PATCH v2 06/37] target/i386: add ALU load/writeback core

2022-09-20 Thread Paolo Bonzini
Add generic code generation that takes care of preparing operands around calls to decode.e.gen in a table-driven manner, so that ALU operations need not take care of that. Signed-off-by: Paolo Bonzini --- target/i386/tcg/decode-new.c.inc | 33 ++- target/i386/tcg/decode-new.h | 7 ++