libcoin/libcoin — pull request #41 by jeremysalwen (2013-12-25 07:30:14+00:00)
Title: Removed x86 assembly, replaced with fast portable algorithm.

Merkletrie.cpp uses inline assembly to calculate the log2 of a 32 bit integer. This patch replaces it with portable C from http://aggregate.org/MAGIC/#Log2%20of%20an%20Integer which can actually be faster on platforms for which BSR is a microcode instruction.