[Mesa-dev] [PATCH 1/4] meson: Enable SSE4.1 optimizations

Matt Turner mattst88 at gmail.com
Thu Nov 16 22:23:49 UTC 2017


On Thu, Nov 16, 2017 at 2:19 PM, Dylan Baker <dylan at pnwbakers.com> wrote:
> Quoting Matt Turner (2017-11-15 21:57:37)
>> On Wed, Nov 15, 2017 at 5:10 PM, Dylan Baker <dylan at pnwbakers.com> wrote:
>> > This patch checks for an and then enables sse4.1 optimizations if the
>> > host machine will be x86/x86_64.
>>
>> There's some stack realignment stuff that probably needs to stay, but
>> depending on what gcc version we require we can just always enable SSE
>> 4.1. It's existed since GCC 4.3 (March 2008).
>
> Well, since we require 4.6 in the meson build unconditionally, I think that
> we can just set the stackalignment variable.
>
> So, we can just drop the whole compile check altogether in that case, correct?

Exactly.


More information about the mesa-dev mailing list