Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > SSE[23] intrinsics for gcc?

Reply
Thread Tools

SSE[23] intrinsics for gcc?

 
 
dfeustel@mindspring.com
Guest
Posts: n/a
 
      10-08-2006
Where can I find info about using intrinsic
functions for SSE, SSE2, and SSE3 instructions
with gcc? Is there a URL?

Thanks,
Dave Feustel


--
Using OpenBSD with or without X & KDE?
http://dfeustel.home.mindspring.com
 
Reply With Quote
 
 
 
 
Robert Gamble
Guest
Posts: n/a
 
      10-08-2006
wrote:
> Where can I find info about using intrinsic
> functions for SSE, SSE2, and SSE3 instructions
> with gcc? Is there a URL?


I would start by asking in a group dedicated to gcc, gnu.gcc and
gnu.gcc.help spring to mind.

Robert Gamble

 
Reply With Quote
 
 
 
 
dfeustel@mindspring.com
Guest
Posts: n/a
 
      10-08-2006
Robert Gamble <> wrote:
> wrote:
>> Where can I find info about using intrinsic
>> functions for SSE, SSE2, and SSE3 instructions
>> with gcc? Is there a URL?

>
> I would start by asking in a group dedicated to gcc, gnu.gcc and
> gnu.gcc.help spring to mind.
>
> Robert Gamble


Thanks for the pointers.
I found gcc has a file, xmmintrin.h, that defines a lot of intrinsics
for SSE instructions.

--
Using OpenBSD with or without X & KDE?
http://dfeustel.home.mindspring.com
 
Reply With Quote
 
Erik de Castro Lopo
Guest
Posts: n/a
 
      10-08-2006
wrote:
>
> Thanks for the pointers.
> I found gcc has a file, xmmintrin.hthat defines a lot of intrinsics
> for SSE instructions.


If you add "-msse" to the gcc command line you should be
able to use all the inline functions defined in the
xmmintrin.h header file.

However, this discussion would be better suited to the gnu.gcc.help
newsgroup.

Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo
+-----------------------------------------------------------+
"Every single Muslim is in danger of becoming a terrorist. All it
takes is that he faces a crisis and seeks solace in his religion.
Muslims are not born terrorists; they are good humans no different
from the rest of us. They become terrorists when they seek their
religion for spiritual guidance." --
http://www.faithfreedom.org/oped/sina50407.htm
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help optimize nbody bench program (c++ sse2 intrinsics) Melzzzzz C++ 3 10-14-2012 02:31 PM
problem using ctypes with MMX intrinsics dcharno Python 1 10-15-2008 06:38 AM
NB2L (Li-Ion) battery intrinsics Agricolus Digital Photography 2 01-23-2006 09:22 PM



Advertisments