]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
docs/devel/tcg-ops: Drop recommendation to free temps
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 25 Feb 2023 08:48:05 +0000 (22:48 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Mar 2023 21:44:08 +0000 (13:44 -0800)
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
docs/devel/tcg-ops.rst

index 561c41657478f97ed17baec14f7a891ff1d83e87..f3f451b77f1d33bd10175fa0b1d0dc0e380968f9 100644 (file)
@@ -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