Re: [PATCH 10/25] target/i386: finish converting 0F AE to the new decoder

2024-06-08 Thread Richard Henderson
On 6/8/24 01:40, Paolo Bonzini wrote: +static void gen_FXRSTOR(DisasContext *s, X86DecodedInsn *decode) +{ +if ((s->flags & HF_EM_MASK) || (s->flags & HF_TS_MASK)) { +gen_NM_exception(s); +} +gen_helper_fxrstor(tcg_env, s->A0); +} + +static void gen_FXSAVE(DisasContext *s, X86

[PATCH 10/25] target/i386: finish converting 0F AE to the new decoder

2024-06-08 Thread Paolo Bonzini
This is already partly implemented due to VLDMXCSR and VSTMXCSR; finish the job. Signed-off-by: Paolo Bonzini --- target/i386/tcg/decode-new.h | 7 ++ target/i386/tcg/translate.c | 188 --- target/i386/tcg/decode-new.c.inc | 48 +++- target/i386/tcg/em