- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check MOVQ instruction. you can use it to read or write 64bit.
http://www.intel.com/Assets/PDF/manual/253666.pdf
http://www.intel.com/Assets/PDF/manual/253666.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I read the manual and thanks a lot. i however could not see the equivalent intrinsic for MOVQ in __m64 data type.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
If you would like to combine shorter types, there are _mm_set_pi32, _mm_set_pi16, and so on.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page