From: Richard Henderson <richard.henderson@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>, qemu-arm <qemu-arm@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 5/9] target/arm: Add aa32_vfp_dreg/aa64_vfp_qreg helpers
Date: Thu, 11 Jan 2018 11:29:47 -0800 [thread overview]
Message-ID: <2373642e-8d28-d94c-dfb5-55f0bf33e32b@linaro.org> (raw)
In-Reply-To: <CAFEAcA8+fQ7QiygiM0C5kgesNSpiFnJDCjnAyjAtm=zt2cRnAw@mail.gmail.com>
On 01/11/2018 10:39 AM, Peter Maydell wrote:
> On 18 December 2017 at 17:30, Richard Henderson
> <richard.henderson@linaro.org> wrote:
>> Helpers that return a pointer into env->vfp.regs so that we isolate
>> the logic of how to index the regs array for different cpu modes.
>>
>> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
>> ---
>> target/arm/cpu.h | 20 +++++++++++++++++++-
>> linux-user/signal.c | 22 ++++++++++++----------
>> target/arm/arch_dump.c | 8 +++++---
>> target/arm/helper-a64.c | 13 +++++++------
>> target/arm/helper.c | 32 ++++++++++++++++++++------------
>> target/arm/kvm32.c | 4 ++--
>> target/arm/kvm64.c | 31 ++++++++++---------------------
>> target/arm/machine.c | 2 +-
>> target/arm/translate-a64.c | 25 ++++++++-----------------
>> target/arm/translate.c | 16 +++++++++-------
>> 10 files changed, 93 insertions(+), 80 deletions(-)
>>
>> diff --git a/target/arm/cpu.h b/target/arm/cpu.h
>> index 7a705a09a1..e1a8e2880d 100644
>> --- a/target/arm/cpu.h
>> +++ b/target/arm/cpu.h
>> @@ -493,7 +493,7 @@ typedef struct CPUARMState {
>> * the two execution states, and means we do not need to explicitly
>> * map these registers when changing states.
>> */
>> - float64 regs[64] QEMU_ALIGNED(16);
>> + uint64_t regs[64] QEMU_ALIGNED(16);
>
> Why are we changing the type of this field ?
Because that's how it's actually used. We were using casts before.
r~
next prev parent reply other threads:[~2018-01-11 19:29 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-18 17:30 [Qemu-devel] [PATCH 0/9] target/arm: Prepatory work for SVE Richard Henderson
2017-12-18 17:30 ` [Qemu-devel] [PATCH 1/9] target/arm: Mark disas_set_insn_syndrome inline Richard Henderson
2017-12-18 20:27 ` [Qemu-devel] [Qemu-arm] " Philippe Mathieu-Daudé
2018-01-11 18:45 ` [Qemu-devel] " Peter Maydell
2017-12-18 17:30 ` [Qemu-devel] [PATCH 2/9] target/arm: Use pointers in crypto helpers Richard Henderson
2018-01-11 18:45 ` Peter Maydell
2017-12-18 17:30 ` [Qemu-devel] [PATCH 3/9] target/arm: Use pointers in neon zip/uzp helpers Richard Henderson
2018-01-11 18:46 ` Peter Maydell
2017-12-18 17:30 ` [Qemu-devel] [PATCH 4/9] target/arm: Use pointers in neon tbl helper Richard Henderson
2018-01-11 18:46 ` Peter Maydell
2017-12-18 17:30 ` [Qemu-devel] [PATCH 5/9] target/arm: Add aa32_vfp_dreg/aa64_vfp_qreg helpers Richard Henderson
2018-01-11 18:39 ` Peter Maydell
2018-01-11 19:29 ` Richard Henderson [this message]
2018-01-12 18:24 ` Peter Maydell
2018-01-12 18:44 ` Richard Henderson
2018-01-12 18:44 ` Peter Maydell
2018-01-12 18:47 ` Richard Henderson
2017-12-18 17:30 ` [Qemu-devel] [PATCH 6/9] vmstate: Add VMSTATE_UINT64_SUB_ARRAY Richard Henderson
2017-12-18 20:29 ` [Qemu-devel] [Qemu-arm] " Philippe Mathieu-Daudé
2018-01-11 18:46 ` [Qemu-devel] " Peter Maydell
2017-12-18 17:30 ` [Qemu-devel] [PATCH 7/9] target/arm: Expand vector registers for SVE Richard Henderson
2018-01-11 18:44 ` Peter Maydell
2018-01-11 18:58 ` Dr. David Alan Gilbert
2018-01-12 18:38 ` Peter Maydell
2018-01-12 18:50 ` Richard Henderson
2017-12-18 17:30 ` [Qemu-devel] [PATCH 8/9] target/arm: Add ZCR.LEN to tb->flags Richard Henderson
2018-01-12 18:49 ` Peter Maydell
2018-01-15 10:00 ` Peter Maydell
2017-12-18 17:30 ` [Qemu-devel] [PATCH 9/9] target/arm: Add ARM_FEATURE_SVE Richard Henderson
2018-01-11 18:42 ` Peter Maydell
2018-01-11 19:32 ` 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=2373642e-8d28-d94c-dfb5-55f0bf33e32b@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).