2

While I was looking for MMX functions, I noticed that two of them, _m_empty and _mm_empty, have exactly the same definition.

So why do they both exist ? Is one of them older than the other ? Is there a difference that is not mentioned in the manual ?

Paul R
  • 208,748
  • 37
  • 389
  • 560
Aracthor
  • 5,757
  • 6
  • 31
  • 59
  • 1
    Generally speaking, you should avoid using MMX. It's deprecated for x64 native development along with AMD 3DNow! and x87. SSE/SSE2 should provide everything you need and more, and is portable between x86 and x64 native. – Chuck Walbourn Sep 06 '15 at 20:11
  • @ChuckWalbourn Thanks for the tip. I'm only using SSE for now, but I didn't now about MMX. – Aracthor Sep 07 '15 at 02:58

1 Answers1

3

Differences would/should be pointed out in the documentation. The MSDN is more precise. They explicitly mention this:

A synonym for _mm_empty is _m_empty.

Aracthor
  • 5,757
  • 6
  • 31
  • 59
HelloWorld
  • 2,392
  • 3
  • 31
  • 68