[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v2 20/68] target/arm: Convert load/store (register
From: |
Richard Henderson |
Subject: |
Re: [Qemu-arm] [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-arm] [PATCH v2 21/68] target/arm: Convert Synchronization primitives, (continued)
[Qemu-arm] [PATCH v2 26/68] target/arm: Convert MOVW, MOVT, Richard Henderson, 2019/08/19
[Qemu-arm] [PATCH v2 20/68] target/arm: Convert load/store (register, immediate, literal), Richard Henderson, 2019/08/19
[Qemu-arm] [PATCH v2 23/68] target/arm: Convert Parallel addition and subtraction, Richard Henderson, 2019/08/19
[Qemu-arm] [PATCH v2 24/68] target/arm: Convert Packing, unpacking, saturation, and reversal, Richard Henderson, 2019/08/19
[Qemu-arm] [PATCH v2 27/68] target/arm: Convert LDM, STM, Richard Henderson, 2019/08/19
[Qemu-arm] [PATCH v2 30/68] target/arm: Diagnose base == pc for LDM/STM, Richard Henderson, 2019/08/19
[Qemu-arm] [PATCH v2 25/68] target/arm: Convert Signed multiply, signed and unsigned divide, Richard Henderson, 2019/08/19