On 10/07/2025 3:24 pm, Jan Beulich wrote:
> Use an existing macro instead of open-coding the operation and flags
> handling, just like we already do in x86_emul_rmw(). While possibly
> yielding slightly larger compiled code, it's easier to maintain this
> way.
>
> Note that the setting of dst.orig_val was already redundant with that
> done ahead of the main switch() (where DST_MEM is handled), the latest
> as of 4e59f578cb75 ("x86emul: simplify SHLD/SHRD handling").
>
> Signed-off-by: Jan Beulich <[email protected]>

Reviewed-by: Andrew Cooper <[email protected]>

Reply via email to