FreeBSD 9.0-CUR/amd64 CLANG: howto use gcc __builtin_ia32?

Doug Rabson dfr at rabson.org
Wed Jun 15 19:08:30 UTC 2011


You could try using the standard <xmmintrin.h> header - that has inline
functions which should cover all the SSE instructions.

On 12 June 2011 17:43, Hartmann, O. <ohartman at zedat.fu-berlin.de> wrote:

> I use some numerical code utilizing the SIMD units of modern X86
> architectures. Code compiles well using gcc/gcc46,
> but clang does not know about the __builtin_ia32_xxxxx() statements. How to
> treat those in clang and how to make
> C code compiling with clang utilizing those __builtin_ia32 statements?
>
> Thanks,
> Oliver
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>


More information about the freebsd-performance mailing list