Advertisement

MMX Code

Started by May 19, 2000 07:06 PM
0 comments, last by Zimans 24 years, 7 months ago
Anyone willing to throw some mmx code, or some general information about mmx my way. In specific, code to move memory around. I''m not very good at assembly so any help would be apreciated. Thx -Zims
There''s nothing to complicated about move''s and MMX

it''s just

movq mm0, [address]
emms

If you add the SIMD stuff from a PIII, that''s where it gets a little more interesting, and you''re able to control the level 1 and level 2 cache of the CPU.

The catch though is that the memory addresses have to be aligned for best performance ( or in the case of some SIMD instructions, a fault will occur )

The best place to start is the Intel website and the .pdf files of the manuals they have

This topic is closed to new replies.

Advertisement