by eachro · 4y ago · 0 comments
However, you can learn the basics in an hour, and read/write small amounts of code (like in the article) very quickly. The trick that you don't learn all those functions, instead you constantly use the amazing interactive guide:
https://www.intel.com/content/www/us/en/docs/intrinsics-guid...
I guess real pros do memorize the API of course, but I have written many (<1000) lines of intrinsics code like this.
https://www.intel.com/content/dam/develop/public/us/en/inclu...
The article even shows that - look at the C++ code - no instrisics in sight, just pure basic C++ getting the optimisation and performance from the compiler alone.