lightning
[Top][All Lists]
Advanced

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

Re: GNU Lightning 2.2.1 release


From: Paul Cercueil
Subject: Re: GNU Lightning 2.2.1 release
Date: Fri, 24 Feb 2023 19:37:07 +0000

[...]

Answer to myself:

> I would maybe benefit from having "mask extract" and "mask insert"
> functions similar to EXT/INS on MIPS.

A mask extract is just
  jit_rshi_u(rd, rs, ctz(mask));
  jit_andi(rd, rd, mask);

The backends with "mask extract" opcodes (e.g. MIPS r2) could maybe
just detect this pattern.

Cheers,
-Paul



reply via email to

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