[Bug target/49313] Inefficient libgcc implementations for avr

gjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 7 17:41:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49313

--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-06-07 17:41:15 UTC ---
Created attachment 24460
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24460
Patch for ffs part.

This patch forwards to the standard C library implementation instead of using
__ffs<mode>2 for ffs, ffsl, ffsll.

    PR target/49313
    * config/avr/avr.c (TARGET_INIT_LIBFUNCS): New Define.
    (avr_init_libfuncs): New static function.



More information about the Gcc-bugs mailing list