4 ms·
Is `_mm_sqrt_ps(..)' an Intel-only thing? Why is the naming so jacked? https://www.intel.com/content/www/us/en/docs/cpp-compiler/developer-guide-reference/202
by metadat 2y ago
Is `_mm_sqrt_ps(..)' an Intel-only thing? Why is the naming so jacked?
https://www.intel.com/content/www/us/en/docs/cpp-compiler/developer-guide-reference/2021-8/mm-sqrt-ps-mm256-sqrt-ps.html https://www.intel.com/content/www/us/en/docs/cpp-compiler/de...
- ack_complete 2y agoIt is a compiler intrinsic named after the SQRTPS instruction it's intended to generate. The "PS" refers to the vectorization type and stands for packed single. That being said, the naming of Intel's vector intrinsics _is_ pretty bad, such as the pi64 vs. epi64 difference. ARM's vector intrinsic naming, despite looking like having come from a cat sitting on the home row keys, is more consistent and has less gotchas.