docs/devel/tcg-ops: Drop recommendation to free temps
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
29c87a281e
commit
8a0816d6be
@ -951,10 +951,6 @@ Recommended coding rules for best performance
|
|||||||
often modified, e.g. the integer registers and the condition
|
often modified, e.g. the integer registers and the condition
|
||||||
codes. TCG will be able to use host registers to store them.
|
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
|
- Don't hesitate to use helpers for complicated or seldom used guest
|
||||||
instructions. There is little performance advantage in using TCG to
|
instructions. There is little performance advantage in using TCG to
|
||||||
implement guest instructions taking more than about twenty TCG
|
implement guest instructions taking more than about twenty TCG
|
||||||
|
Loading…
Reference in New Issue
Block a user