[Bug middle-end/36041] Speed up builtin_popcountll

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 26 23:49:00 GMT 2013


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

--- Comment #17 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #15)
> (In reply to Cristian Rodríguez from comment #14)
> > Because it will be useless to general purpose distributions of course.
> 
> Then ifunc for this short of a function is not useful either.  Then maybe we
> should move over to use the non table version for GCC in general.

Moving from the table to the non-table version speeds things by a factor 2. The
ifunc version gains another factor 2. I wouldn't call that useless. (obviously,
it remains 4 or 5 times slower than an inlined version)


More information about the Gcc-bugs mailing list