Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2011 19:36:54 +0100
From:      Doug Rabson <dfr@rabson.org>
To:        "Hartmann, O." <ohartman@zedat.fu-berlin.de>
Cc:        "freebsd-performance@freebsd.org" <freebsd-performance@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: FreeBSD 9.0-CUR/amd64 CLANG: howto use gcc __builtin_ia32?
Message-ID:  <BANLkTikf-KqC4yYe8ab=vwee4z9U%2BT65iw@mail.gmail.com>
In-Reply-To: <4DF4EC9F.9020604@zedat.fu-berlin.de>
References:  <4DF4EC9F.9020604@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikf-KqC4yYe8ab=vwee4z9U%2BT65iw>