|
From: | Richard Henderson |
Subject: | Re: [PATCH 2/3] linux-user: i386/signal: support FXSAVE fpstate on 32-bit emulation |
Date: | Mon, 10 Oct 2022 08:32:45 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 |
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 frame size. Signed-off-by: Paolo Bonzini<pbonzini@redhat.com> --- linux-user/i386/signal.c | 129 +++++++++++++++++++++++---------------- 1 file changed, 77 insertions(+), 52 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |