]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] tools: add a fast div64_32 function
authorWilly Tarreau <w@1wt.eu>
Sun, 20 Jun 2010 05:12:37 +0000 (07:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 10 Aug 2010 11:59:56 +0000 (13:59 +0200)
commitf0d9eecc52fe3ec980467bf421f2f46c77209450
tree56491f6301998c4a02a9db39aad5d33385f810b6
parent7a20aa6e6bc5f17f5d0c18bd087e657243bebb45
[MINOR] tools: add a fast div64_32 function

We'll need to divide 64 bits by 32 bits with new frequency counters.
Gcc does not know when it can safely do that, but the way we build
our operations let us be sure. So let's provide an optimised version
for that purpose.
include/common/standard.h