473,385 Members | 1,523 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

SSE[23] intrinsics for gcc?

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
Oct 8 '06 #1
3 7598
df******@mindspring.com 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

Oct 8 '06 #2
Robert Gamble <rg*******@gmail.comwrote:
df******@mindspring.com 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
Oct 8 '06 #3
df******@mindspring.com 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
Oct 8 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
sse
by: bill | last post by:
I am working on a project with alot of array manipulations (sin,cos,mult). Does anyone know of a package utilizing simd (sse or mmx) to increase the processing capability. ? (particularly for the...
23
by: Bonj | last post by:
Hi I'm looking to write an extended stored procedure, the job of which will basically to read data from one table, process it using a COM object, and write (insert) rows out to another table. I...
17
by: mr.resistor | last post by:
hey i am having a few problems calling a C DLL from C#. i am using a simple function that takes an array of floats and an integer as an input, but i cannot seem to get it to work. when i try to...
2
by: Bryan Parkoff | last post by:
Do you know where I can find a good book how to write intrinsic function? Intrinsic function is useful to use MMX or SSE or any SIMD instruction of x86 and other machines for best portability. It...
14
by: artifact.one | last post by:
It'd be really pleasant (in my opinion) if the next revision of the C language actually allowed some portable control over data alignment. Compiler-specific mechanisms for this stuff are so...
2
by: easter bunny | last post by:
Hi, I try to learn mmx and sse, to begin with i try to understand some examples i found on the net. Basically all __m128 vectors are 16 bit aligned, but one some examples saw them 64 aligned. Is...
13
by: Robert Cloud | last post by:
Is it possible to include assembly language routines in C if I'm using a compiler which has an assembler such as gcc? could I include them in a main function or would I have to write a seperate...
1
by: dcharno | last post by:
Is it possible to use ctypes with a shared library which uses MMX/SSE intrinsics? I can load the library and access functions inside it, but I getting a seg fault when I hit one of the intrinsics....
2
by: Robert Kern | last post by:
dcharno wrote: Well, stack alignment would be a problem with how the shared library gets compiled, nothing to do with ctypes (I think). However, if you are passing in arrays from ctypes, *they*...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.