Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.
1102 Discussions

load/store intrinsics in MMX technology(__m64)

Smart_Lubobya
Beginner
1,336 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
1,336 Views
Check MOVQ instruction. you can use it to read or write 64bit.

http://www.intel.com/Assets/PDF/manual/253666.pdf
0 Kudos
Thomas_W_Intel
Employee
1,336 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.
0 Kudos
Smart_Lubobya
Beginner
1,336 Views
I read the manual and thanks a lot. i however could not see the equivalent intrinsic for MOVQ in __m64 data type.

0 Kudos
Thomas_W_Intel
Employee
1,336 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.
0 Kudos
Reply