commit | 36eb3a3ac83793748e9e5b644a848e6fa23c84cb | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Sep 20 08:18:49 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Sep 20 11:27:31 2017 +0200 |
tree | f58b96be38e8518aa9ecb2626e6a91d8a4aa5d50 | |
parent | 2f1cacb1aaf0369cb39e14147f022fa6c321cb15 [diff] |
MINOR: tools: make my_htonll() more efficient on x86_64 The current construct was made when developing on a 32-bit machine. Having a simple bswap operation replaced with 2 bswap, 2 shift and 2 or is quite of a waste of precious cycles... Let's provide a trivial asm-based implementation for x86_64.