https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116013
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I have patches for part of this, though the optabs need to be renamed so the backend changes have to wait until I finish that. and I need to also match ~(a | CST) into `BIT_ANDC (~CST, a)` which I will add too.