this post was submitted on 29 Aug 2024
8 points (83.3% liked)
Gentoo Linux
503 readers
1 users here now
The Gentoo Linux community for discussions, tips and tricks, and general kernel compiling
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@waz @soaska There are other reasons to be cautious about using AVX - older CPUs that support it are forcibly downclocked when the instructions are used so you'd better make sure that your vectorised loops are delivering enough benefits for the 10-20% penalty for all the rest of the code
https://stackoverflow.com/questions/35663635/why-do-processors-with-only-avx-out-perform-avx2-processors-for-many-simd-algori/44353690#44353690
https://stackoverflow.com/questions/56852812/simd-instructions-lowering-cpu-frequency
Ohh, cool. Thanks for the warning. This just got complicated enough that I am definitely going to have do go down this rabbit hole.