[Bug middle-end/36041] Speed up builtin_popcountll
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 28 09:29:00 GMT 2013
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
More information about the Gcc-bugs
mailing list