https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101185
--- Comment #11 from Hongtao.liu <crazylht at gmail dot com> --- (In reply to Uroš Bizjak from comment #10) > (In reply to Hongtao.liu from comment #9) > > (In reply to Jakub Jelinek from comment #8) > > > Yeah, ideally main including the cpuid check should be compiled with the > > > least possible target and if the check is successful call a noipa function > > > with the command line chosen attributes. > > > We've always been playing with fire here... > > > > Yes, does this solution sound good to you, uros? If yes, please ignore my > > patch[1], I'll resend a new one. > > > > [1]https://gcc.gnu.org/pipermail/gcc-patches/2021-June/573591.html > > I'm afraid the above proposed solution would shift the burden from the > compiler to the user, and the burden does not justify relatively minor and > solvable issue to use generic "a & b" on masks. Then we need a new type for __mmask8(perhaps w/ new psABI), orelse in the backend we always see integer mode for a & b.