Hi,

here's a fix that works for me:

Author: Vyacheslav Egorov
Origin: 
https://raw.github.com/gist/1302061/371cebbda9e2bf0790728f3b5f47d38b74a26368/CountLeadingZeros.patch
Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644163

Index: src/arm/macro-assembler-arm.cc
===================================================================
--- a/src/arm/macro-assembler-arm.cc    (revision 9710)
+++ b/src/arm/macro-assembler-arm.cc    (working copy)
@@ -2907,8 +2907,8 @@
 #ifdef CAN_USE_ARMV5_INSTRUCTIONS
   clz(zeros, source);  // This instruction is only supported after
   ARM5.
 #else
+  Move(scratch, source);
   mov(zeros, Operand(0, RelocInfo::NONE));
-  Move(scratch, source);
   // Top 16.
   tst(scratch, Operand(0xffff0000));
   add(zeros, zeros, Operand(16), LeaveCC, eq);


Vyacheslav said on IRC that he'll commit this to repository soon.

-Timo



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to