[PATCH v2 08/13] RISC-V: add U-type imm parsing to parse_asm header
Conor Dooley
conor at kernel.org
Wed Nov 30 11:41:24 PST 2022
On Wed, Nov 30, 2022 at 08:27:47PM +0100, Heiko Stübner wrote:
> Am Mittwoch, 30. November 2022, 00:38:32 CET schrieb Conor Dooley:
> > On Mon, Nov 28, 2022 at 11:26:27AM +0100, Heiko Stuebner wrote:
> > > From: Heiko Stuebner <heiko.stuebner at vrull.eu>
> > >
> > > RISC-V: add U-type imm parsing to parse_asm header
> >
> > Ditto.
> >
> > > Similar to other existing types, allow extracting the immediate
> > > for a U-type instruction.
> > >
> > > U-type immediates are special in that regard, that the value
> > > in the instruction in bits [31:12] already represents the same
> > > bits of the immediate, so no shifting is required.
> > >
> > > Signed-off-by: Heiko Stuebner <heiko.stuebner at vrull.eu>
> >
> > How is this different to the patch I left an R-b for on v1?
>
> Somehow with having changed so much for v2, it felt strange carrying
> over many of the R-b-s. Though yeah, this one could've made it :-)
Yah, hard to know what to do.. Worth mentioning it explicitly though I
think if you do drop tags so that people know where they stand.
More information about the linux-riscv
mailing list