Replace use of tcg_const_*, which makes a copy into a temp
which must be freed, with direct use of the constant.

r~

Richard Henderson (4):
  target/openrisc: Use tcg_constant_*
  target/openrisc: Use tcg_constant_tl for dc->R0
  target/openrisc: Cache constant 0 in DisasContext
  target/openrisc: Use dc->zero in gen_add, gen_addc

 target/openrisc/translate.c | 68 +++++++++++--------------------------
 1 file changed, 19 insertions(+), 49 deletions(-)

-- 
2.25.1


Reply via email to