Re: [PATCH 1/2] bitreversal program

From: Benoit Boissinot
Date: Wed May 21 2008 - 05:11:20 EST


On Wed, May 21, 2008 at 10:54:15AM +0200, Soumyadip Das Mahapatra wrote:
> On Tue, 20 May 2008, Benoit Boissinot wrote:
>
> Sorry to disturb you again. But i tested my code against Akinobu's one
> and the test result shows my code takes less cpu time than that of
> Akinobu's.
>
> My processor is 1.4 GHz one.
> I am not forcing you to review my code( or i've no expectation of
> inclusion of it ) but its just a curiousity: what is truth behind
> the output.

I'm using a core duo 1.2GHz, if you want to play with the code, I'm
attaching a tarball (it's hackish, just change the #include at the top
of bitrev.h to switch implementation).

I'm using gcc -Wall -O3 to compile with gcc 4.2.3.

regards,

Benoit

--
:wq

Attachment: bitrev.tar.bz2
Description: Binary data