This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

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


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


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