Re: Use of C99 int types

From: Stephen Rothwell
Date: Sun Apr 03 2005 - 07:06:51 EST


On Sun, 03 Apr 2005 13:55:39 +0200 Dag Arne Osvik <da@xxxxxxxx> wrote:
>
> I've been working on a new DES implementation for Linux, and ran into
> the problem of how to get access to C99 types like uint_fast32_t for
> internal (not interface) use. In my tests, key setup on Athlon 64 slows
> down by 40% when using u32 instead of uint_fast32_t.

If you look in stdint.h you may find that uint_fast32_t is actually
64 bits on Athlon 64 ... so does it help if you use u64?

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature