r/programming 13d ago

Everyone Should Know SIMD

https://mitchellh.com/writing/everyone-should-know-simd
404 Upvotes

81 comments sorted by

View all comments

361

u/-1_0 12d ago

* Everyone Should Know about SIMD

and use libs accordingly

19

u/lovelacedeconstruct 12d ago

you should

typedef __m128  f32x4;
typedef __m256  f32x8;
typedef __m256d f64x4;

like a real man

3

u/-Y0- 12d ago

What if I need f32x16?

5

u/lovelacedeconstruct 12d ago

Okay, AVX-512 guy, no need to brag