lockfree: use pointer compression on both x86_64 and on alpha
commit0488870e5fd953348c6bfa7482a113124f911164
authorTim Blechmann <tim@klingt.org>
Thu, 26 Nov 2009 14:23:17 +0000 (26 15:23 +0100)
committerTim Blechmann <tim@klingt.org>
Thu, 26 Nov 2009 14:29:35 +0000 (26 15:29 +0100)
treec238822e3f22e48ffba20c4854393ef581a86fc3
parent8e8293a717ad313773fd8153eada2ab2f3d2201f
lockfree: use pointer compression on both x86_64 and on alpha

alpha: cas needs to be emulated with an ll/sc pair
x86_64: pointer compression seems to be faster than cmpxchg16b

Signed-off-by: Tim Blechmann <tim@klingt.org>
boost/lockfree/detail/cas.hpp
boost/lockfree/detail/prefix.hpp
boost/lockfree/detail/tagged_ptr_ptrcompression.hpp