Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Smart_Lubobya
Beginner
163 Views

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?
0 Kudos
4 Replies
163 Views

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

http://www.intel.com/Assets/PDF/manual/253666.pdf
Thomas_W_Intel
Employee
163 Views

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.
Smart_Lubobya
Beginner
163 Views

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

Thomas_W_Intel
Employee
163 Views

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.