Re:Zen4's AVX512 Teardown
by ComputerGuru on Monday October 03, 2022 @08:34PM
(#33075419)
Because it's hard to say "conditionally enable AVX-512 only on platforms supporting it BUT not on platforms where it actually brings performance penalties."
[ Parent
| on HN ]
Can you give a real example of AVX-512 actually causing a net performance penalty on any CPU?
The only way I can see that happening is using AVX-512 in small, infrequently called functions such as strcmp, and the solution is: don't do that.
If proper SIMD code runs for say 1ms at a time, it's pretty much guaranteed to benefit from any implementation of AVX-512.