There are important differences in the ABI, since saved
registers or passed values can take twice as much stack space.
This patch add mechanism which allows optimizations to be run only
on 32-bit platforms since all optimizations are done in assembly.
---
 pixman/pixman-mips.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/pixman/pixman-mips.c b/pixman/pixman-mips.c
index 5a23a67..4c31a80 100644
--- a/pixman/pixman-mips.c
+++ b/pixman/pixman-mips.c
@@ -142,6 +142,10 @@ _pixman_mips_get_implementations (pixman_implementation_t 
*imp)
     }
 #endif
 
+    /* disable runtime detection for non 32-bit platforms */
+    if (sizeof (uintptr_t) != 4)
+        return imp;
+
 #ifdef USE_MIPS32R2
     if (!_pixman_disabled ("mips32r2"))
     {
-- 
1.7.3

_______________________________________________
Pixman mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pixman

Reply via email to