Skip to content
Commit ef6051a9 authored by Chris Zankel's avatar Chris Zankel
Browse files

[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: default avatarChris Zankel <chris@zankel.net>
parent 3f0a6766
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment