]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/36041 (Speed up builtin_popcountll)
authorJakub Jelinek <jakub@redhat.com>
Fri, 28 Jun 2013 09:28:40 +0000 (11:28 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 28 Jun 2013 09:28:40 +0000 (11:28 +0200)
commit4ea3d77451d330e8bae29bae981814673dc3b746
tree6bb2542aeca126f3ed7209d470724896cf4de0ba
parentebf8f0eaebb0ede888d8d86719d7cbd82a5f6270
re PR middle-end/36041 (Speed up builtin_popcountll)

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.

From-SVN: r200506
libgcc/ChangeLog
libgcc/libgcc2.c