--- Comment #2 from rguenth at gcc dot gnu dot org 2007-11-23 22:39 ---
Confirmed. libgcc2.c doesn't have a ffs implementation for targets with 2
byte integers.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #1 from sjackman at gmail dot com 2007-11-23 20:01 ---
It's worth noting that __ffsi2 generates terrible code on the AVR: a 194 byte
function. avr-libc also provides ffs (16-bit, not 32-bit as in __ffssi2) which
is written in assembler and 24 bytes long. As a workaround, you