Module: Mesa Branch: main Commit: 1851ca714b75b06c52cd3e142e96964332c7efbd URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1851ca714b75b06c52cd3e142e96964332c7efbd
Author: David Heidelberg <[email protected]> Date: Thu Feb 16 22:11:50 2023 +0100 intel: enable -mfpmath=sse on x86 It's not enabled by default until `-msse2` and -ffast-math is passed. We pass only the `-msse2`. Let's align it with main `meson.build`. See: https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html (-mfpmath). Acked-by: Yonggang Luo <[email protected]> Signed-off-by: David Heidelberg <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21371> --- src/intel/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/meson.build b/src/intel/meson.build index 53e72e5eebb..57307b579ff 100644 --- a/src/intel/meson.build +++ b/src/intel/meson.build @@ -21,7 +21,7 @@ c_sse2_args = [] c_sse2_arg = [] if ['x86', 'x86_64'].contains(host_machine.cpu_family()) - c_sse2_arg = ['-msse2'] + c_sse2_arg = ['-msse2', '-mfpmath=sse'] c_sse2_args = [c_sse2_arg, '-mstackrealign'] endif inc_intel = include_directories('.')
