qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 0/2] riscv: Adding custom CSR related Kconfig options


From: Richard Henderson
Subject: Re: [RFC PATCH 0/2] riscv: Adding custom CSR related Kconfig options
Date: Mon, 6 Sep 2021 20:59:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 9/6/21 9:05 AM, Alistair Francis wrote:
I honestly don't see a scenario where that happens. The maintenance
overhead and confusion of changing the CPUs at build time is too high.

Yes indeed.  One qemu image should support all cpu variations at once.

I also don't think we should need that for CSR accesses. Custom
instructions are a whole different can of worms.

Custom instruction sets are manageable.

In general, we use separate decodetree instances, and select on them at a high level of translation. We have examples of this in both target/arm/ and target/mips/ dealing with different ISAs.

Prod me when you get to that point.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]