[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 20/68] target/arm: Convert load/store (regist
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v2 20/68] target/arm: Convert load/store (register, immediate, literal) |
Date: |
Fri, 23 Aug 2019 09:24:07 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 8/23/19 7:54 AM, Peter Maydell wrote:
> On Mon, 19 Aug 2019 at 22:38, Richard Henderson
> <address@hidden> wrote:
>>
>> Signed-off-by: Richard Henderson <address@hidden>
>> ---
>> target/arm/translate.c | 797 ++++++++++++++++++-----------------------
>> target/arm/a32.decode | 120 +++++++
>> target/arm/t32.decode | 141 ++++++++
>> 3 files changed, 615 insertions(+), 443 deletions(-)
>
> This one is brutal to review. I got through review of all the
> decode file patterns but got bogged down when I started looking
> at the .c file changes... I might come back to it alter.
I'm not sure how to make it any easier.
In the old code, we pass around insn and extract bits where needed, including
subroutines. In the new code we pass around a structure that has the bits
extracted. I don't see how to make intermediate steps.
It might be easier to review the new code from first principles, since that's
pretty much how I wrote it.
Unless you have a better suggestion?
r~
- Re: [Qemu-devel] [PATCH v2 21/68] target/arm: Convert Synchronization primitives, (continued)
[Qemu-devel] [PATCH v2 25/68] target/arm: Convert Signed multiply, signed and unsigned divide, Richard Henderson, 2019/08/19
[Qemu-devel] [PATCH v2 23/68] target/arm: Convert Parallel addition and subtraction, Richard Henderson, 2019/08/19
[Qemu-devel] [PATCH v2 20/68] target/arm: Convert load/store (register, immediate, literal), Richard Henderson, 2019/08/19
[Qemu-devel] [PATCH v2 28/68] target/arm: Diagnose writeback register in list for LDM for v7, Richard Henderson, 2019/08/19
[Qemu-devel] [PATCH v2 26/68] target/arm: Convert MOVW, MOVT, Richard Henderson, 2019/08/19
[Qemu-devel] [PATCH v2 27/68] target/arm: Convert LDM, STM, Richard Henderson, 2019/08/19
[Qemu-devel] [PATCH v2 32/68] target/arm: Convert SVC, Richard Henderson, 2019/08/19
[Qemu-devel] [PATCH v2 24/68] target/arm: Convert Packing, unpacking, saturation, and reversal, Richard Henderson, 2019/08/19