commit | ed7ee6f4f6d425126f9f5d2351710ea7d9ed2678 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Mar 08 00:41:00 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 11 07:38:07 2020 +0100 |
tree | a8102b372185b5bf415951ff89a59f5108a4295e | |
parent | 4ce4195a272cdd8c0d49e8ed65ae3cb2d7cc5669 [diff] |
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> (cherry picked from commit 4deb8529fe01327ab23f18290cf7fdd2ef99090a) Signed-off-by: Willy Tarreau <w@1wt.eu>