qemu/include
Aurelien Jarno 739b7a9075 bitops: provide an inline implementation of find_first_bit
find_first_bit has started to be used heavily in TCG code. The current
implementation based on find_next_bit is not optimal and can't be
optimized be the compiler if the bit array has a fixed size, which is
the case most of the time.

This new implementation does not use find_next_bit and is yet small
enough to be inlined.

Cc: Corentin Chary <corentin.chary@gmail.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2014-06-18 18:10:47 +02:00
..
2014-06-16 17:23:21 +08:00
2014-06-16 13:24:46 +02:00
2014-05-22 18:14:01 +01:00
2014-06-16 18:26:21 +01:00
2014-06-13 12:34:57 +02:00
2014-05-19 12:20:19 +02:00