simde icon indicating copy to clipboard operation
simde copied to clipboard

FMA detection not correct on msvc

Open dhbloo opened this issue 2 years ago • 0 comments

Hello,

According to msvc's documentation, no __FMA__ flag is defined when compiling with msvc, as its availbility is already implied in __AVX2__. Current detection macro only checks __FMA__ thus native FMA instruction will never be used with msvc.

dhbloo avatar Mar 18 '22 16:03 dhbloo