This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49313] Inefficient libgcc implementations for avr
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 7 Jun 2011 17:41:17 +0000
- Subject: [Bug target/49313] Inefficient libgcc implementations for avr
- Auto-submitted: auto-generated
- References: <bug-49313-4@http.gcc.gnu.org/bugzilla/>
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.