add fallback a_clz_32 implementation
authorRich Felker <dalias@aerifal.cx>
Thu, 11 Jun 2020 04:12:48 +0000 (00:12 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 11 Jun 2020 04:12:48 +0000 (00:12 -0400)
commitca36573ecfbbef7a1563aaa1a8486081f8c9fdda
tree5f85ff1f9d9b28c986415d42b226009fb63daf0c
parent1fc67fc117f9d25d240d46bbef78ebccacec7097
add fallback a_clz_32 implementation

some archs already have a_clz_32, used to provide a_ctz_32, but it
hasn't been mandatory because it's not used anywhere yet. mallocng
will need it, however, so add it now. it should probably be optimized
better, but doesn't seem to make a difference at present.
src/internal/atomic.h