mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
IT LAUNCHES ON OS X
This commit is contained in:
parent
ebfa229173
commit
29bfa4fc7f
8 changed files with 40 additions and 14 deletions
|
|
@ -59,6 +59,10 @@ static void _x86_check_features(void)
|
|||
x86_cpu_enable_simd = x86_cpu_has_sse2 &&
|
||||
x86_cpu_has_sse42 &&
|
||||
x86_cpu_has_pclmulqdq;
|
||||
#ifdef __APPLE__
|
||||
/* SIMD implementations not built on Darwin; disable even if CPU supports them */
|
||||
x86_cpu_enable_simd = 0;
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
#include <intrin.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue