remove a_ctz_l from arch specific atomic_arch.h
authorAndre McCurdy <armccurdy@gmail.com>
Thu, 19 Apr 2018 00:40:59 +0000 (17:40 -0700)
committerRich Felker <dalias@aerifal.cx>
Thu, 19 Apr 2018 16:23:17 +0000 (12:23 -0400)
commit0c6abb58820398ac995305d88f3e6a9f0a692eb7
tree155fdd605e934e3c1a787c8a48300028c6d90356
parent3f6dc30470d5751b83645df180a60cad3e7907ef
remove a_ctz_l from arch specific atomic_arch.h

Update atomic.h to provide a_ctz_l in all cases (atomic_arch.h should
now only provide a_ctz_32 and/or a_ctz_64).

The generic version of a_ctz_32 now takes advantage of a_clz_32 if
available and the generic a_ctz_64 now makes use of a_ctz_32.
arch/i386/atomic_arch.h
arch/x32/atomic_arch.h
src/internal/atomic.h