Re: [x86 PATCH take 2] Avoid andn and generate shorter not; and with -Oz.

2022-05-18 Thread Uros Bizjak via Gcc-patches
On Tue, May 17, 2022 at 5:52 PM Roger Sayle wrote: > > > This is a revised version of my i386 backend patch to avoid andn with -Oz, > when an explicit not;and (or not;test) would be (one byte) shorter. > https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593168.html > This revision incorporates

[x86 PATCH take 2] Avoid andn and generate shorter not;and with -Oz.

2022-05-17 Thread Roger Sayle
This is a revised version of my i386 backend patch to avoid andn with -Oz, when an explicit not;and (or not;test) would be (one byte) shorter. https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593168.html This revision incorporates Michael Matz's feedback/suggestions with explicit checks for LE