OSDN Git Service

host-utils: add clrsb32/64 - count leading redundant sign bits
authorClaudio Fontana <claudio.fontana@linaro.org>
Tue, 17 Dec 2013 19:42:35 +0000 (19:42 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 17 Dec 2013 20:12:51 +0000 (20:12 +0000)
commitafd3fe4ce56e6fb0d0384ddb8e3c4fac01935c37
tree1bdc85c034610f88fdc30746c121b6833b395f79
parent880777423525685ccaf1bf6967b27cc8a38e5f96
host-utils: add clrsb32/64 - count leading redundant sign bits

this patch introduces wrappers for the clrsb builtins,
which count the leading redundant sign bits.

Signed-off-by: Claudio Fontana <claudio.fontana@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
include/qemu/host-utils.h