r/programming • • Jul 23 '26

Everyone Should Know SIMD

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

82 comments sorted by

View all comments

Show parent comment

19

u/lovelacedeconstruct Jul 23 '26

you should

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

like a real man

4

u/-Y0- Jul 24 '26

What if I need f32x16?

7

u/lovelacedeconstruct Jul 24 '26

Okay, AVX-512 guy, no need to brag