Re: [PATCH 14/22] target/i386: split eflags computation out of gen_compute_eflags

2023-12-28 Thread Richard Henderson
On 12/23/23 05:15, Paolo Bonzini wrote: The new x86 decoder wants the gen_* functions to compute EFLAGS before writeback, which can be an issue for instructions with a memory destination such as ARPL or shifts. Extract code to compute the EFLAGS without clobbering CC_SRC, in case the memory writ

[PATCH 14/22] target/i386: split eflags computation out of gen_compute_eflags

2023-12-22 Thread Paolo Bonzini
The new x86 decoder wants the gen_* functions to compute EFLAGS before writeback, which can be an issue for instructions with a memory destination such as ARPL or shifts. Extract code to compute the EFLAGS without clobbering CC_SRC, in case the memory write causes a fault. The flags writeback mec