provide optimized a_ctz_32 for arm
authorAndre McCurdy <armccurdy@gmail.com>
Thu, 19 Apr 2018 00:41:00 +0000 (17:41 -0700)
committerRich Felker <dalias@aerifal.cx>
Thu, 19 Apr 2018 16:27:16 +0000 (12:27 -0400)
commitea489b8b0d89e391455689b7cc397d0c261677c9
treea810bb435fbac14d1269bf5a5150be808cdf795f
parent0c6abb58820398ac995305d88f3e6a9f0a692eb7
provide optimized a_ctz_32 for arm

Provide an ARM specific a_ctz_32 helper function for architecture
versions for which it can be implemented efficiently via the "rbit"
instruction (ie all Thumb-2 capable versions of ARM v6 and above).
arch/arm/atomic_arch.h