load/store intrinsics in MMX technology(__m64)

load/store intrinsics in MMX technology(__m64)

have been checking for the MMX technology load/ store intrinsic in the intel mannuals. i dont seem to see any, how is loading and /or store of arrays done in MMX Tech. of type __m64?

5 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Check MOVQ instruction. you can use it to read or write 64bit.

http://www.intel.com/Assets/PDF/manual/253666.pdf

Thomas Willhalm (Intel)'s picture

In C/C++, a normal assignment will do. However, I must admit that I don't see why you would like to use MMX these days.

I read the manual and thanks a lot. i however could not see the equivalent intrinsic for MOVQ in __m64 data type.

Thomas Willhalm (Intel)'s picture

There is no intrinsic as the compiler will generate movq automatically for you when loading from memory.

If you would like to combine shorter types, there are _mm_set_pi32, _mm_set_pi16, and so on.

Login to leave a comment.