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. > Hello,
I have just sent a patch for this - https://gcc.gnu.org/pipermail/gcc-patches/2026-July/725319.html Regards, Shivam > jeff
