help with MMX and inline asm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello
I have examined the GCC manual and I seen the built-in
functions for SIMD extensions.
For SSE there are functions like

|v4sf __builtin_ia32_loadaps (float *)

ex:

foo = ||__builtin_ia32_loadaps ( array )|
|
which move tha data from array to foo, and foo is a
type v4fs which become a  XMM register for SSE
instruction.
But MMX???
For MMX there aren't built-in function for move the
data from array to mm* register (why??), therefore I
must use inline asm.
Now, How I can do it???

Thanks.

p.s. I am a newbie whith AT&T syntax an asm inline. 

______________________________________________________________________
Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il filtro Anti-spam
http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux