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:
2bbd553
)
ARM: do /proc/self/auxv based cpu features detection only in linux
author
Siarhei Siamashka
<siarhei.siamashka@nokia.com>
Tue, 11 Jan 2011 12:36:24 +0000
(14:36 +0200)
committer
Siarhei Siamashka
<siarhei.siamashka@nokia.com>
Sun, 16 Jan 2011 21:40:38 +0000
(23:40 +0200)
This method is linux specific, but earlier it was tried for any platform
that did not have _MSC_VER macro defined.
pixman/pixman-cpu.c
patch
|
blob
|
history
diff --git
a/pixman/pixman-cpu.c
b/pixman/pixman-cpu.c
index
e4fb1e4
..
70253d1
100644
(file)
--- a/
pixman/pixman-cpu.c
+++ b/
pixman/pixman-cpu.c
@@
-244,7
+244,7
@@
pixman_have_arm_neon (void)
#endif /* USE_ARM_NEON */
-#el
se
/* linux ELF */
+#el
if defined (__linux__)
/* linux ELF */
#include <stdlib.h>
#include <unistd.h>
@@
-328,7
+328,12
@@
pixman_have_arm_neon (void)
#endif /* USE_ARM_NEON */
-#endif /* linux */
+#else /* linux ELF */
+
+#define pixman_have_arm_simd() FALSE
+#define pixman_have_arm_neon() FALSE
+
+#endif
#endif /* USE_ARM_SIMD || USE_ARM_NEON */