[pulseaudio-discuss] detection of SSE3 support in configure.ac
remi at remlab.net
Tue Dec 6 23:36:51 PST 2011
On Tue, 6 Dec 2011 17:06:11 -0600, "Pierre-Louis Bossart"
<pierre-louis.bossart at linux.intel.com> wrote:
>> But you must somehow ensure that all code compiled with -msse3, NOT
>> ONLY the inline assembly, is only ever run on SSE3-capable processors.
>> Without the target function attribute from GCC 4.4, this becomes a
>> requirement for the build system.
> There's no assembly in the code, we used primitives such as _mm_mul_ps()
> which are natively supported by Gcc.
Using instrinsics might avoid the impedance mismatch between the compiler
and the assembler.
> The -msse3 flag is only used for the low-level code, there should be no
> conflict; if SSE3 is not supported this code is never called.
Sure. You just have to be very careful to restrict -msse3 to SSE3-only
More information about the pulseaudio-discuss