Boost logo

Boost :

Subject: [boost] [dynamic_bitset] Compiler intrinsics to accelerate. whos agree?
From: Jairo Andres Velasco Romero (jairo_andres_v_at_[hidden])
Date: 2013-07-24 13:17:38

I noted detail for dynamic_bitset<> is not using the far old ASM instruction BSF which could accelerate find_first() and find_next() methodsI checked asm generated with current table based implementation.On x64 and x86 BSF and BSR are available long time ago.Population count can be implemented with LZCNT for performance oriented ways to build.Core i7 with AVX2 enable new wide block bit manipulation but it needs to code with specific GNU g++ intrinsics and MSVC intrinsics.
Someone agree?

Boost list run by bdawes at, gregod at, cpdaniel at, john at