From: Richard Henderson <richard.henderson@linaro.org>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
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 [thread overview]
Message-ID: <d56e7a78-fef4-b10b-5757-5b2192145c95@linaro.org> (raw)
In-Reply-To: <20221010142127.295676-3-pbonzini@redhat.com>
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~
next prev parent reply other threads:[~2022-10-10 15:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-10 14:21 [PATCH 0/3] linux-user: i386/signal: support XSAVE/XRSTOR for signal frame fpstate Paolo Bonzini
2022-10-10 14:21 ` [PATCH 1/3] linux-user: i386/signal: move fpstate at the end of the 32-bit frames Paolo Bonzini
2022-10-10 15:28 ` Richard Henderson
2022-10-10 14:21 ` [PATCH 2/3] linux-user: i386/signal: support FXSAVE fpstate on 32-bit emulation Paolo Bonzini
2022-10-10 15:32 ` Richard Henderson [this message]
2022-10-10 14:21 ` [PATCH 3/3] linux-user: i386/signal: support XSAVE/XRSTOR for signal frame fpstate Paolo Bonzini
2022-10-10 15:39 ` Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d56e7a78-fef4-b10b-5757-5b2192145c95@linaro.org \
--to=richard.henderson@linaro.org \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).