Use __builtin_clz() to implement log_2()
authorSimon Marlow <marlowsd@gmail.com>
Sat, 23 Apr 2016 21:14:43 +0000 (22:14 +0100)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 26 Apr 2016 15:00:43 +0000 (16:00 +0100)
commit24864ba5587c1a0447beabae90529e8bb4fa117a
treefe0ecf67674cc1a98d6aa88f6947ef8798ee48b0
parentd396996298939f647c22b547bc01f1b00e6e2fd9
Use __builtin_clz() to implement log_2()

A microoptimisation in the block allocator.
rts/sm/BlockAlloc.c