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

2011-06-16 Thread O. Hartmann
On 06/15/11 20:36, Doug Rabson wrote: You could try using the standardxmmintrin.h header - that has inline functions which should cover all the SSE instructions. On 12 June 2011 17:43, Hartmann, O.ohart...@zedat.fu-berlin.de wrote: I use some numerical code utilizing the SIMD units of

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

2011-06-16 Thread O. Hartmann
On 06/16/11 09:04, O. Hartmann wrote: On 06/15/11 20:36, Doug Rabson wrote: You could try using the standardxmmintrin.h header - that has inline functions which should cover all the SSE instructions. On 12 June 2011 17:43, Hartmann, O.ohart...@zedat.fu-berlin.de wrote: I use some numerical

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

2011-06-15 Thread Doug Rabson
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. ohart...@zedat.fu-berlin.de wrote: I use some numerical code utilizing the SIMD units of modern X86 architectures. Code compiles well

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

2011-06-12 Thread Hartmann, O.
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_x() statements. How to treat those in clang and how to make C code compiling with clang utilizing those __builtin_ia32