qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [sw-dev] The problem of write misa on QEMU and BBL


From: Emilio G. Cota
Subject: Re: [Qemu-devel] [sw-dev] The problem of write misa on QEMU and BBL
Date: Fri, 20 Apr 2018 14:57:59 -0400
User-agent: Mutt/1.5.24 (2015-08-30)

On Fri, Apr 20, 2018 at 12:31:42 +1200, Michael Clark wrote:
(snip)
> In any case it seems we need some pretty major changes to translate.c
> before we can make misa writable in qemu-riscv. Almost every gen routine
> with the exception of RVI will need predication based on extensions. It
> makes one pause and think whether adding if statements is a good approach
> or whether having exension metadata available in the decoder so that it can
> be done generically. Adding lots of riscv_has_ext checks would be nasty.
> 
> We will need to add misa to DisasContext so that we can
> remove CPURISCVState *env from gen methods.
> 
> It also doesn't make sense to start this until we have merged Emilio's
> DisasContextBase changes.
> 
> It would be nice if Emilio's changes can be merged early in the 2.13 cycle
> so that folk are able to make progress on extension checking to
> target/riscv/translate.c

Most of those changes have been reviewed, so I'm confident they'll be
merged early in the 2.13 cycle. That said, you might want to already
work on the changes you need on top of the v3 series I just sent,
which is available at:
  https://github.com/cota/qemu/tree/trloop-conv-v3

Cheers,

                Emilio



reply via email to

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