Re: [PATCH 2/3] linux-user: i386/signal: support FXSAVE fpstate on 32-bit emulation

2022-10-10 Thread Richard Henderson
On 10/10/22 07:21, Paolo Bonzini wrote: Linux can use FXSAVE to save/restore XMM registers even on 32-bit systems. This requires some care in order to keep the FXSAVE area aligned to 16 bytes; for this reason, get_sigframe is changed to pass the offset into the FXSAVE area rather than the full

[PATCH 2/3] linux-user: i386/signal: support FXSAVE fpstate on 32-bit emulation

2022-10-10 Thread Paolo Bonzini
Linux can use FXSAVE to save/restore XMM registers even on 32-bit systems. This requires some care in order to keep the FXSAVE area aligned to 16 bytes; for this reason, get_sigframe is changed to pass the offset into the FXSAVE area rather than the full frame size. Signed-off-by: Paolo Bonzini