summaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2018-04-17 07:18:01 -1000
committerRichard Henderson <richard.henderson@linaro.org>2018-05-01 11:41:56 -0700
commitd103021269ca9307ed7ca0d845d2b9e6c387509a (patch)
tree6a21957e57bb2375414629f1506965689f238216 /tcg
parent26bd8d98c4b3284a4c6fe3b67c98b1edd00e9beb (diff)
downloadqemu-d103021269ca9307ed7ca0d845d2b9e6c387509a.tar.gz
tcg: Document INDEX_mul[us]h_*
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg')
-rw-r--r--tcg/README8
1 files changed, 8 insertions, 0 deletions
diff --git a/tcg/README b/tcg/README
index bb2ea5121b..a5237a9edb 100644
--- a/tcg/README
+++ b/tcg/README
@@ -431,6 +431,14 @@ double-word product T0. The later is returned in two single-word outputs.
Similar to mulu2, except the two inputs T1 and T2 are signed.
+* mulsh_i32/i64 t0, t1, t2
+* muluh_i32/i64 t0, t1, t2
+
+Provide the high part of a signed or unsigned multiply, respectively.
+If mulu2/muls2 are not provided by the backend, the tcg-op generator
+can obtain the same results can be obtained by emitting a pair of
+opcodes, mul+muluh/mulsh.
+
********* Memory Barrier support
* mb <$arg>