diff options
author | Makoto Kato <m_kato@ga2.so-net.ne.jp> | 2009-09-01 10:59:05 +0900 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@dhcp-100-3-19.bos.redhat.com> | 2009-09-02 15:00:46 -0400 |
commit | 097342a65d81fb957dfc17486f615f887540e146 (patch) | |
tree | 5d37a050047172d8f78f4c0c81ea5d5c8c2e1353 | |
parent | 64085c91b6a1deca4007b18d63b707b896653ee9 (diff) |
Add CPU detection for VC++ x64
VC++ x64 has no inline assembler and x64 mode supports SSE2.
So, it is unnecessary to call cpuid.
-rw-r--r-- | pixman/pixman-cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/pixman-cpu.c b/pixman/pixman-cpu.c index a2a7b8a..5d5469b 100644 --- a/pixman/pixman-cpu.c +++ b/pixman/pixman-cpu.c @@ -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> |