https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111119
--- Comment #3 from Hongtao.liu <crazylht at gmail dot com> --- > I see, we can add an alternative like "noavx2,avx2" to generate > vmaskmovps/pd when avx2 is not available for integer. It's better to change assmeble output as 27423 if (TARGET_AVX2) 27424 return "v<sseintprefix>maskmov<ssemodesuffix>\t{%1, %2, %0|%0, %2, %1}"; 27425 else 27426 return "vmaskmov<ssefltmodesuffix>\t{%1, %2, %0|%0, %2, %1}"; No need to add alternative.