[Mesa-dev] [PATCH 1/2] configure.ac: roll up a program for the sse4.1 check

Matt Turner mattst88 at gmail.com
Sat Nov 15 10:38:54 PST 2014

On Sat, Nov 15, 2014 at 10:30 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 15/11/14 18:21, Matt Turner wrote:
>> On Sat, Nov 15, 2014 at 9:04 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>>> Man this thing is _very_ messy.
>>> Matt from the last hunk it seems that pixman might need fixing. Should
>>> be bother with that, or let people have fun when they hit it :P
>> I don't know what you mean, specifically.
> configure.ac (in pixman) does:
> CFLAGS="$CFLAGS -msse4.1"

Where? I see

MMX_CFLAGS="-mmmx -Winline"

SSE2_CFLAGS="-msse2 -Winline"


SSSE3_CFLAGS="-mssse3 -Winline"

which looks like it's doing the right thing. I tried building it with
-mno-ssse3 and it correctly disabled the SSSE3 code.

More information about the mesa-dev mailing list