summaryrefslogtreecommitdiff
path: root/firmware/asm/ffs.c (follow)
Commit message (Collapse)AuthorAge
* Generic find_first_set_bit can use __builtin_ctz instead of __builtin_ffsMichael Sevakis2012-02-04
| | | | | | | The former gives 0-based indexes, which is what our implementation returns, making the "- 1" unnecessary. Change-Id: I172ab5e06695be62e4a18d4fd0415b8314f5dc26
* find_first_set_bit tweaksMichael Sevakis2012-01-27
| | | | | | | Correct sizing in m68k asm. Make the gerneric version far more generic. Change-Id: I32945f7431771979b3fe0da5472bdb110fd054ae
* Move optimized ffs to firmware/asm, using the new automatic-asm-picking ↵Thomas Martitz2012-01-22
infrastructure. Change-Id: I5e7bdc8be7de50ef604c16078857fff1b84650dc