This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] Use bit scanning and counting builtins for std::bitset
- From: Phil Edwards <phil at jaj dot com>
- To: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Sun, 2 Feb 2003 13:19:39 -0500
- Subject: Re: [patch] Use bit scanning and counting builtins for std::bitset
- References: <877kcjtnph.fsf@student.uni-tuebingen.de>
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