Mail Archives: djgpp/1998/05/04/20:11:29
At 10:51 5/4/1998 -0700, Wai Teng wrote:
>Can anyone please tell me if the GCC compiler can support inline MMX
>instructions? If not, then how can I include those instructions in my
>code? Tks.
I believe it will if you use Binutils 2.8+. But be aware that the compiler,
as it is, knows nothing about the MMX facilities, so you can't, for
instance, tell it to load some value into an MMX register for you. You must
do it explicitly.
Somebody posted some info a while back about a patch to let GCC generate MMX
code, and I presume also use them with inline assembly. Check the archives.
Nate Eldredge
nate AT cartsys DOT com
- Raw text -