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

Doug Rabson dfr at
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> 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 mailing list
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at"

More information about the freebsd-current mailing list