MINOR: tools: add 64-bit rotate operators
authorWilly Tarreau <w@1wt.eu>
Sat, 7 Mar 2020 23:41:00 +0000 (00:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 11 Mar 2020 06:35:16 +0000 (07:35 +0100)
commit4deb8529fe01327ab23f18290cf7fdd2ef99090a
treef89ed60869bb83864a1c13ab3ea1cb79f85d429b
parentb0c73b8825967a503bb701d5fa04a2a321d981f9
MINOR: tools: add 64-bit rotate operators

This adds rotl64/rotr64 to rotate a 64-bit word by an arbitrary number
of bits. It's mainly aimed at being used with constants.

(cherry picked from commit 7a40909c00c13d2733bc1d41ddc7dc1d19e05da9)
Signed-off-by: Willy Tarreau <w@1wt.eu>
include/common/standard.h