https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88473
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Well, if you want this constant folded, why are you using the _k* intrinsics at all rather than just normal arithmetics on the __mmask8 etc. types? The intrinsics are handled in GCC in a way to force those to be actually those instructions. We could surely implement those just by doing normal arithmetics inside of the headers, but then it would be more likely that normal GPR arithmetics would be used for those rather than mask logic etc. operations.