mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-04 16:57:57 +00:00
tcg: Document ctpop opcodes
Fixes: a768e4e992
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/658
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
f1f727ac8a
commit
8d30f0473e
1 changed files with 6 additions and 0 deletions
|
@ -254,6 +254,12 @@ t0 = t1 ? clz(t1) : t2
|
|||
|
||||
t0 = t1 ? ctz(t1) : t2
|
||||
|
||||
* ctpop_i32/i64 t0, t1
|
||||
|
||||
t0 = number of bits set in t1
|
||||
With "ctpop" short for "count population", matching
|
||||
the function name used in include/qemu/host-utils.h.
|
||||
|
||||
********* Shifts/Rotates
|
||||
|
||||
* shl_i32/i64 t0, t1, t2
|
||||
|
|
Loading…
Reference in a new issue