projects
/
profile
/
ivi
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5781246
)
Add CPU detection for VC++ x64
author
Makoto Kato
<m_kato@ga2.so-net.ne.jp>
Tue, 1 Sep 2009 01:59:05 +0000
(10:59 +0900)
committer
Søren Sandmann Pedersen
<sandmann@redhat.com>
Wed, 2 Sep 2009 20:04:02 +0000
(16:04 -0400)
VC++ x64 has no inline assembler and x64 mode supports SSE2.
So, it is unnecessary to call cpuid.
pixman/pixman-cpu.c
patch
|
blob
|
history
diff --git
a/pixman/pixman-cpu.c
b/pixman/pixman-cpu.c
index
a2a7b8a
..
5d5469b
100644
(file)
--- 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>