From: Richard Henderson Date: Tue, 17 Apr 2018 17:18:01 +0000 (-1000) Subject: tcg: Document INDEX_mul[us]h_* X-Git-Tag: v3.0.0-rc0~182^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d103021269ca9307ed7ca0d845d2b9e6c387509a;p=thirdparty%2Fqemu.git tcg: Document INDEX_mul[us]h_* Signed-off-by: Richard Henderson --- diff --git a/tcg/README b/tcg/README index bb2ea5121bb..a5237a9edb6 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>