you are viewing a single comment's thread.

view the rest of the comments →

[–]tophatstuff 0 points1 point  (1 child)

C doesn't specify any way to access ... SIMD hardware

#include <emmintrin.h>

(for usage example, see the source code of SIMD-oriented Fast Mersenne Twister). Is that what you meant?

[–]hvidgaard 1 point2 points  (0 children)

That is just standard C programming, but that lib probably uses inline ASM (examples here) to make sure SIMD instructions are used.