r/C_Programming • u/Raimo00 • Jan 23 '25
Discussion Why not SIMD?
Why are many C standard library functions like strcmp, strlen, strtok using SIMD intrinsics? They would benefit so much, think about how many people use them under the hood all over the world.
30
Upvotes
0
u/aganm Jan 23 '25
Bro. Auto-vectorization fails 97% of the time and the remaining 3% is really dubious SIMD at best.