[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 9/9] target/arm: Convert Neon one-register-and-immediate i
From: |
Peter Maydell |
Subject: |
Re: [PATCH v2 9/9] target/arm: Convert Neon one-register-and-immediate insns to decodetree |
Date: |
Tue, 2 Jun 2020 09:58:02 +0100 |
On Tue, 2 Jun 2020 at 00:32, Richard Henderson
<richard.henderson@linaro.org> wrote:
> It might be clearer to use dup_const for each case, which would more closely
> match the pseudocode. E.g. here,
>
> return dup_const(MO_16, imm << 8);
>
> > + imm |= (imm << 8) | (imm << 16) | (imm << 24);
>
> return dup_const(MO_8, imm);
Yeah, I did think about this, but figured that keeping the
existing code structure was clearer for purposes of reviewing
this refactoring series.
thanks
-- PMM