diff options
author | Jack Lloyd <[email protected]> | 2018-12-22 08:52:05 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-12-22 08:52:05 -0500 |
commit | c167a34774c225199b0811da3ebff9001c5486dc (patch) | |
tree | adb4e2199079803a25130849e1055b1dbc3e29b1 /src | |
parent | e62836000c0883c555cf9da41164f61a287783db (diff) |
Remove now incorrect comment
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/utils/bit_ops.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/utils/bit_ops.h b/src/lib/utils/bit_ops.h index bfeebdfb4..cab714146 100644 --- a/src/lib/utils/bit_ops.h +++ b/src/lib/utils/bit_ops.h @@ -58,11 +58,6 @@ inline size_t high_bit(T n) for(size_t s = 8*sizeof(T) / 2; s > 0; s /= 2) { - /* - * The != 0 expression is not necessarily going to be const time, - * it will depend on the compiler and arch. GCC compiles this - * function to straight line code on x86-64, Aarch64 and ARM. - */ const size_t z = s * ((~ct_is_zero(n >> s)) & 1); hb += z; n >>= z; |