Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2021-03-27 16:34:17 +0300
committerJoshua Ashton <joshua@froggi.es>2021-03-27 16:34:17 +0300
commit6b833062a020a2a15ce88af759072412ef69b350 (patch)
treeec307f29635aed27907602e6951f88ae54644abf /meson.build
parent403af8820bf00d3f4372c8db8a34fe85186c6f5a (diff)
build: Enable SSE3 for x86_64
Some minor codegen improvements around vector/matrix math in DX9.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 27986bcb..effc870a 100644
--- a/meson.build
+++ b/meson.build
@@ -64,7 +64,11 @@ else
endif
endif
-if cpu_family == 'x86'
+if cpu_family == 'x86_64'
+ if dxvk_compiler.has_argument('-msse3')
+ add_project_arguments('-msse3', language: ['c', 'cpp'])
+ endif
+elif cpu_family == 'x86'
if dxvk_compiler.has_link_argument('-Wl,--add-stdcall-alias')
add_global_link_arguments('-Wl,--add-stdcall-alias', language: 'cpp')
endif