[patch] Use bit scanning and counting builtins for std::bitset

Phil Edwards phil@jaj.com
Sun Feb 2 18:19:00 GMT 2003


On Sun, Feb 02, 2003 at 03:34:34AM +0100, Falk Hueffner wrote:
> this patch utilizes gcc's builtin functions for bit counting and
> scanning.  With it, I can achieve a speedup of 32% for a toy program
> of mine (by using the Alpha "ctpop" instruction).

Nice.  I'm the middle of ugly stuff right now, but I'll look closer at
the patch tomorrow.


Phil

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002



More information about the Libstdc++ mailing list