mirror of
https://salsa.debian.org/xorg-team/lib/pixman
synced 2026-08-11 09:32:37 +00:00
Add CPU detection for VC++ x64
VC++ x64 has no inline assembler and x64 mode supports SSE2. So, it is unnecessary to call cpuid.
This commit is contained in:
parent
57812465bf
commit
d465f854b3
@ -325,7 +325,7 @@ pixman_have_arm_neon (void)
|
||||
* that would lead to SIGILL instructions on old CPUs that don't have
|
||||
* it.
|
||||
*/
|
||||
#if !defined(__amd64__) && !defined(__x86_64__)
|
||||
#if !defined(__amd64__) && !defined(__x86_64__) && !defined(_M_AMD64)
|
||||
|
||||
#ifdef HAVE_GETISAX
|
||||
#include <sys/auxv.h>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user