mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-06 19:40:10 +02:00
Enable SSE2 instructions
We need this to enable FTZ in 3aac8e3483.
SSSE2 is a default on x86_64, but we need to explicitly enable it when
compiling the 32-bit bitbridge.
This commit is contained in:
@@ -38,6 +38,10 @@ compiler_options = [
|
||||
# Disable the use of concepts in Boost.Asio until Boost 1.73 gets released
|
||||
# https://github.com/boostorg/asio/issues/312
|
||||
'-DBOOST_ASIO_DISABLE_CONCEPTS',
|
||||
# When the `force_ftz` option is enabled, we use an intrinsic to force
|
||||
# flush-to-zero. SSE2 is always enabled in x86_64 CPUs, but when we're
|
||||
# compiling the 32-bit bitbridge we need to manually add this flag.
|
||||
'-msse2',
|
||||
]
|
||||
# NOTE: GCC doesn't 8-byte align doubles in structs on x86 for ABI-compatibilty
|
||||
# reasons, but MSVC++ does. We need to force this same alignment to be
|
||||
|
||||
Reference in New Issue
Block a user