summaryrefslogtreecommitdiff
path: root/arch/powerpc64/atomic_arch.h
AgeCommit message (Collapse)AuthorFilesLines
2017-08-29add a_clz_64 helper functionSzabolcs Nagy1-0/+7
counts leading zero bits of a 64bit int, undefined on zero input. (has nothing to do with atomics, added to atomic.h so target specific helper functions are together.) there is a logarithmic generic implementation and another in terms of a 32bit a_clz_32 on targets where that's available.
2016-05-08add powerpc64 portBobby Bingham1-0/+63