From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, qemu-arm@nongnu.org
Subject: [Qemu-devel] [PATCH 0/5] target/arm: More SVE prep work
Date: Sat, 10 Feb 2018 15:05:25 -0800 [thread overview]
Message-ID: <20180210230530.8421-1-richard.henderson@linaro.org> (raw)
First, we had noted that ARM_CP_64BIT needed to be removed from
the ZCR_EL registers, but the patch set was applied without
actually fixing that.
Second, there's an existing bug by which the FPCR/FPSR registers
are not properly trapped when FP is disabled. Fix that with a
translation-time check.
Third, my attempt at using .accessfn for ZCR_EL fails to take
into account the two different exception syndromes that must be
raised. Although they probably aren't as important as FPCR/FPSR,
handle them at translation time too.
Fourth, when writing to an AdvSIMD register, zero the rest of
the SVE register.
r~
Richard Henderson (5):
target/arm: Remove ARM_CP_64BIT from ZCR_EL registers
target/arm: Enforce FP access to FPCR/FPSR
target/arm: Suppress TB end for FPCR/FPSR
target/arm: Enforce access to ZCR_EL at translation
target/arm: Handle SVE registers when using clear_vec_high
target/arm/cpu.h | 36 ++++-----
target/arm/internals.h | 6 ++
target/arm/helper.c | 28 ++-----
target/arm/translate-a64.c | 181 ++++++++++++++++++++-------------------------
4 files changed, 114 insertions(+), 137 deletions(-)
--
2.14.3
next reply other threads:[~2018-02-10 23:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-10 23:05 Richard Henderson [this message]
2018-02-10 23:05 ` [Qemu-devel] [PATCH 1/5] target/arm: Remove ARM_CP_64BIT from ZCR_EL registers Richard Henderson
2018-02-10 23:05 ` [Qemu-devel] [PATCH 2/5] target/arm: Enforce FP access to FPCR/FPSR Richard Henderson
2018-02-10 23:05 ` [Qemu-devel] [PATCH 3/5] target/arm: Suppress TB end for FPCR/FPSR Richard Henderson
2018-02-10 23:05 ` [Qemu-devel] [PATCH 4/5] target/arm: Enforce access to ZCR_EL at translation Richard Henderson
2018-02-10 23:05 ` [Qemu-devel] [PATCH 5/5] target/arm: Handle SVE registers when using clear_vec_high 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=20180210230530.8421-1-richard.henderson@linaro.org \
--to=richard.henderson@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--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).