Mesa (master): meson: Fix define for USE_SSE41
Dylan Baker
dbaker at kemper.freedesktop.org
Wed Jan 24 19:34:18 UTC 2018
Module: Mesa
Branch: master
Commit: 0b8d38bd48b219bd979b2ee0ef1ce2b7184f7095
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b8d38bd48b219bd979b2ee0ef1ce2b7184f7095
Author: Scott D Phillips <scott.d.phillips at intel.com>
Date: Wed Jan 24 11:24:12 2018 -0800
meson: Fix define for USE_SSE41
Before we were adding -DHAVE_SSE41 which isn't what the code is
looking for, so some uses of the sse4.1 code were always being
skipped.
v2: Don't add any compile check for the quite old -msse4.1 option (Dylan)
Fixes: 84486f6462 ("meson: Enable SSE4.1 optimizations")
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 97619f786b..eb85a4a593 100644
--- a/meson.build
+++ b/meson.build
@@ -772,7 +772,7 @@ foreach a : ['-Werror=pointer-arith', '-Werror=vla']
endforeach
if host_machine.cpu_family().startswith('x86')
- pre_args += '-DHAVE_SSE41'
+ pre_args += '-DUSE_SSE41'
with_sse41 = true
sse41_args = ['-msse4.1']
More information about the mesa-commit
mailing list