[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 14/19] target/riscv: progressively load the instruction du
Re: [PATCH v2 14/19] target/riscv: progressively load the instruction during decode
Fri, 14 Feb 2020 14:34:49 -0500
On Thu, 13 Feb 2020 at 18:00, Alex Bennée <address@hidden> wrote:
> The plugin system would throw up a harmless warning when it detected
> that a disassembly of an instruction didn't use all it's bytes. Fix
> the riscv decoder to only load the instruction bytes it needs as it
> needs them.
> This drops opcode from the ctx in favour if passing the appropriately
> sized opcode down a few levels of the decode.
> Signed-off-by: Alex Bennée <address@hidden>
> Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Robert Foley <address@hidden>