[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 0/7] target/riscv: Add XVentanaCondOps and supporting infr
From: |
Philipp Tomsich |
Subject: |
Re: [PATCH v4 0/7] target/riscv: Add XVentanaCondOps and supporting infrastructure changes |
Date: |
Mon, 31 Jan 2022 09:34:33 +0100 |
On Mon, 31 Jan 2022 at 09:25, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> On 1/31/22 10:57, Philipp Tomsich wrote:
> >
> > In adding our first X-extension (i.e., vendor-defined) on RISC-V with
> > XVentanaCondOps, we need to add a few instructure improvements to make
> > it easier to add similar vendor-defined extensions in the future:
> > - refactor access to the cfg->ext_* fields by making a pointer to the
> > cfg structure (as cfg_ptr) available via DisasContext
> > - add a table-based list of decoders to invoke, each being guarded by
> > a guard/predicate-function, that can be used to either add vendor
> > extensions, large extensions or override (by listing the decoder
> > before the one for standard extensions) patterns to handle errata
> >
> >
> > Changes in v4:
> > - use a typedef into 'RISCVCPUConfig' (instead of the explicit
> > 'struct RISCVCPUConfig') to comply with the coding standard
> > (as suggested in Richard's review of v3)
> > - add braces to comply with coding standard (as suggested by Richard)
> > - merge the two if-statements to reduce clutter after (now that the
> > braces have been added)
>
>
> Pick up Reviewed-by tags where they're given. Please go back and grab them
> from v3.
Thanks for spotting this. Looks like patman picked those up only for
the first two patches.
I'll go back and add them by hand.
Philipp.
- [PATCH v4 4/7] target/riscv: access cfg structure through DisasContext, (continued)
- [PATCH v4 4/7] target/riscv: access cfg structure through DisasContext, Philipp Tomsich, 2022/01/30
- [PATCH v4 2/7] target/riscv: riscv_tr_init_disas_context: copy pointer-to-cfg into cfg_ptr, Philipp Tomsich, 2022/01/30
- [PATCH v4 3/7] target/riscv: access configuration through cfg_ptr in DisasContext, Philipp Tomsich, 2022/01/30
- [PATCH v4 5/7] target/riscv: iterate over a table of decoders, Philipp Tomsich, 2022/01/30
- [PATCH v4 6/7] target/riscv: Add XVentanaCondOps custom extension, Philipp Tomsich, 2022/01/30
- [PATCH v4 1/7] target/riscv: refactor (anonymous struct) RISCVCPU.cfg into 'struct RISCVCPUConfig', Philipp Tomsich, 2022/01/30
- [PATCH v4 7/7] target/riscv: add a MAINTAINERS entry for XVentanaCondOps, Philipp Tomsich, 2022/01/30
- Re: [PATCH v4 0/7] target/riscv: Add XVentanaCondOps and supporting infrastructure changes, Richard Henderson, 2022/01/31
- Re: [PATCH v4 0/7] target/riscv: Add XVentanaCondOps and supporting infrastructure changes,
Philipp Tomsich <=