https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108191
--- Comment #4 from 罗勇刚(Yonggang Luo) <luoyonggang at gmail dot com> --- (In reply to Richard Biener from comment #3) > I suppose the issue will be that __attribute__((target)) isn't supported by > MSVC? But indeed this isn't something we are going to support. Note > another way is to put the functions into different translation units. gcc is enough, no need care about msvc, msvc can support without attribute, we can use macro to deal with that.