3 ms·
Why are there different names for the same intrinsic? For example, _mm_add_pi8() seems to be identical to _m_paddb(). Same for _m_empty() and _mm_empty(). Are
by Narishma 9y ago
Why are there different names for the same intrinsic?
For example, _mm_add_pi8() seems to be identical to _m_paddb(). Same for _m_empty() and _mm_empty().
Are there any subtleties I'm missing?
- secure 9y ago_m seems to be the prefix for MMX, whereas _mm is the prefix for SSE. I think the instructions which didn’t need to change just got a new intrinsic alias so that each instruction set is self-contained, i.e. when working with SSE, you should only need to look at the SSE docs, not also know the MMX docs already.