Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
1078 Discussions

load/store intrinsics in MMX technology(__m64)

Smart_Lubobya
Beginner
625 Views
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
Brijender_B_Intel
625 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
625 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
625 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
625 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.
Reply