bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bitrotate


From: Simon Josefsson
Subject: Re: bitrotate
Date: Mon, 01 Sep 2008 13:52:17 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

There was a suggestion to support 64-bit rotates as well.  That would
use uint64_t.  Does stdint.m4 define some symbol that may be useful
here?  The code is rather complex so I'm trying to save time asking here
first.  I guess stdint.h cannot always define a uint64_t type, for
example if the platform does not support it?

Alternatively, bitrotate.m4 could check for uint64_t and enable rotl64
and rotr64 functions only if the type exists.  That may be cleaner
anyway.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]