On Sun, May 31, 2026 at 9:12 PM Jeffrey Law <[email protected]> wrote:
> > > On 5/31/2026 9:33 AM, Shivam Gupta wrote: > > > > > > > > > > Yes, I agree that is simpler, but on aarch64, `b != (a ^ 1)` form > > gives - > > eon w0, w0, w1 > > and x0, x0, 1 > > ret > > > > while `a==b` form gives - > > eor w0, w0, w1 > > ubfx x0, x0, 0, 1 > > eor w0, w0, 1 > > ret > Good chance you just need a 3->2 splitter on the aarch64 port to clean > that up. > > Yes, I can send a separate patch for aarch64 port when I get chance to study aarch64.md. Thanks, Shivam > jeff
