Re: [PATCH 2/4] target/openrisc: Use tcg_constant_tl for dc->R0

2021-07-10 Thread Stafford Horne
On Thu, Jul 08, 2021 at 02:37:52PM -0700, Richard Henderson wrote: > The temp allocated for tcg_const_tl is auto-freed at branches, > but pure constants are not. So we can remove the extra hoop > jumping in trans_l_swa. This is nice. > Signed-off-by: Richard Henderson Reviewed-by: Stafford Hor

[PATCH 2/4] target/openrisc: Use tcg_constant_tl for dc->R0

2021-07-08 Thread Richard Henderson
The temp allocated for tcg_const_tl is auto-freed at branches, but pure constants are not. So we can remove the extra hoop jumping in trans_l_swa. Signed-off-by: Richard Henderson --- target/openrisc/translate.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/targ