From: Richard Henderson Date: Sat, 25 Feb 2023 08:48:05 +0000 (-1000) Subject: docs/devel/tcg-ops: Drop recommendation to free temps X-Git-Tag: qemu-xen-4.18.0-rc5~288^2~16 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=8a0816d6bee1f1f639429d1e468abd4845336689;p=qemu-xen.git docs/devel/tcg-ops: Drop recommendation to free temps Reviewed-by: Daniel Henrique Barboza Signed-off-by: Richard Henderson --- diff --git a/docs/devel/tcg-ops.rst b/docs/devel/tcg-ops.rst index 561c416574..f3f451b77f 100644 --- a/docs/devel/tcg-ops.rst +++ b/docs/devel/tcg-ops.rst @@ -951,10 +951,6 @@ Recommended coding rules for best performance often modified, e.g. the integer registers and the condition codes. TCG will be able to use host registers to store them. -- Free temporaries when they are no longer used (``tcg_temp_free``). - Since ``tcg_const_x`` also creates a temporary, you should free it - after it is used. - - Don't hesitate to use helpers for complicated or seldom used guest instructions. There is little performance advantage in using TCG to implement guest instructions taking more than about twenty TCG