Commit 5f8c0b84 authored by Committed by Simon Marlow
Revert "Revert "Use __builtin_clz() to implement log_1()""
This reverts commit 546f24e4. And adds a fix for Windows: we need to use __builtin_clzll() rather than __builtin_clzl(), because StgWord is unsigned long long on Windows.
Showing with 27 additions and 11 deletions