https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119581
Li Pan <pan2.li at intel dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pan2.li at intel dot com --- Comment #1 from Li Pan <pan2.li at intel dot com> --- (In reply to Jeffrey A. Law from comment #0) > #include <stdbool.h> > > void andn(int *a, int mask) { > for (int i = 0; i < 256; i++) > a[i] &= ~mask; > } > > Should compile down into a vandn. Support for this was recently added to > LLVM and reported to me privately as a missed optimization bug in GCC. > > > https://godbolt.org/z/zzvK3q635 I see, I can help after stage 1 open, and possibly other insn from zvbb.