commit | ef6051a90e2ad1af636e99d1d4603fdcf2adfcbe | [log] [tgz] |
---|---|---|
author | Chris Zankel <chris@zankel.net> | Thu May 31 17:41:14 2007 -0700 |
committer | Chris Zankel <chris@zankel.net> | Thu May 31 17:41:14 2007 -0700 |
tree | ac64477663d0163161f3646cda4e5dd0c1e21893 | |
parent | 3f0a6766e0cc5a577805732e5adb50a585c58175 [diff] |
[XTENSA] fix bit operations in bitops.h A macro used internally in the bitops.h file to identify the number of leading zeros (__cntlz) was implemented incorrectly for Xtensa processors that don't provide the 'nsa/nsau' instructions. As a result, the dependent functions and macros (ffs, ffz, fls) were broken. Signed-off-by: Chris Zankel <chris@zankel.net>