meson: Enable SSE4.1 optimizations
authorDylan Baker <dylan@pnwbakers.com>
Thu, 16 Nov 2017 00:09:22 +0000 (16:09 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 22 Nov 2017 20:46:00 +0000 (12:46 -0800)
commit84486f64626ad2b51291b84965d1bc96f68d8127
tree0f1c7ca332c750a11db9cb713dd621aed2fa4583
parent6a78416dabdf0b7b80471dd0c636164c8f4012e0
meson: Enable SSE4.1 optimizations

This patch checks for an and then enables sse4.1 optimizations if the
host machine will be x86/x86_64.

v2: - Don't compile code, it's unnecessary since we require a compiler
      which always has SSE4.1 (Matt)
v3: - x64 -> x86_64 (Matt)

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
meson.build
src/mesa/meson.build