mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-24 06:39:26 +00:00
moar changes
mac implementation had _mm_div (x86 intrinsic)
This commit is contained in:
parent
ea5442a6c6
commit
25ccdde085
9 changed files with 248 additions and 16 deletions
|
|
@ -154,7 +154,9 @@ function(add_math_backend name compile_defs)
|
|||
|
||||
# ISA flags
|
||||
if(MSVC)
|
||||
if(name STREQUAL "sse2" OR name STREQUAL "sse41")
|
||||
if(name STREQUAL "sse2")
|
||||
target_compile_options(math_${name} PRIVATE /arch:SSE2)
|
||||
elseif(name STREQUAL "sse41")
|
||||
target_compile_options(math_${name} PRIVATE /arch:SSE2)
|
||||
elseif(name STREQUAL "avx")
|
||||
target_compile_options(math_${name} PRIVATE /arch:AVX)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue