This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/36041] Speed up builtin_popcountll


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

--- Comment #22 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jun 28 09:28:40 2013
New Revision: 200506

URL: http://gcc.gnu.org/viewcvs?rev=200506&root=gcc&view=rev
Log:
    PR middle-end/36041
    * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
    Define.
    (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
    instead of table lookups.
    (__popcountDI2): Likewise.

Modified:
    trunk/libgcc/ChangeLog
    trunk/libgcc/libgcc2.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]