projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1f727a
)
tcg: Document ctpop opcodes
author
Richard Henderson
<richard.henderson@linaro.org>
Wed, 10 Nov 2021 12:17:31 +0000
(13:17 +0100)
committer
Richard Henderson
<richard.henderson@linaro.org>
Thu, 11 Nov 2021 10:47:01 +0000
(11:47 +0100)
Fixes: a768e4e99247
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>
tcg/README
patch
|
blob
|
history
diff --git
a/tcg/README
b/tcg/README
index c2e7762a3749bf6bc6a29a698db79323b758be3e..bc15cc3b32fd39037edafce4cc1cd90a82411824 100644
(file)
--- a/
tcg/README
+++ b/
tcg/README
@@
-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