this post was submitted on 05 Nov 2024
298 points (96.6% liked)

Open Source

31354 readers
199 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

Unfortunately, due to the complexity and specialized nature of AVX-512, such optimizations are typically reserved for performance-critical applications and require expertise in low-level programming and processor microarchitecture.

you are viewing a single comment's thread
view the rest of the comments
[–] ganymede@lemmy.ml 1 points 2 weeks ago* (last edited 2 weeks ago)

yes, as i said

from the article it’s not clear what the performance boost is relative to intrinsics

(they don't make that comparison in the article)

so its not clear exactly how handwritten asm compares to intrinsics in this specific comparison. we can't assume their handwritten AVX-512 asm and instrinics AVX-512 will perform identically here, it may be better, or worse.

also worth noting they're discussing benchmarking of a specific function, so overall performance on executing a given set of commands may be quite different depending what can and can't be unrolled and in which order for different dependencies.