logoalt Hacker News

wiz21cyesterday at 10:24 AM1 replyview on HN

I miss SIMD...


Replies

misja111yesterday at 11:53 AM

There is this:

> CPU Specific Instructions

> If you do not care about the compatibility of your binary on older (or other types of) processors, you can tell the compiler to generate the newest (and potentially fastest) instructions specific to a certain CPU architecture, such as AVX SIMD instructions for x86-64 CPUs.

> To request these instructions from the command line, use the -C target-cpu=native flag