This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Pentium III SSE intrinsics


A while ago support for some of the SSE intrinsics seems to have been
added to gcc. After some fiddling I managed to get gcc to build and not
segfault immediately when passing '-msse' but I can't seem to figure
out how to actually use them.

I suppose I need to call stuff like '__builtin_ia32_addps()' but what
types should the parameters be? It would be nice to be able to use the
standard Intel syntax, e.g. '__m128 _mm_add_ps (__m128 a, __m128 b)'


Maybe somebody could provide a three line example?

thanks

 Gunnar

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]