mirror_qemu/tcg/sparc
Richard Henderson 59d7c14eef tcg: Optimize spills of constants
While we can store constants via constrants on INDEX_op_st_i32 et al,
we weren't able to spill constants to backing store.

Add a new backend interface, tcg_out_sti, which may store the constant
(and is allowed to fail).  Rearrange the temp_* helpers so that we only
attempt to directly store a constant when the temp is becoming dead/free.

Signed-off-by: Richard Henderson <rth@twiddle.net>
2016-07-05 20:50:13 -07:00
..
tcg-target.h tcg: Split trunc_shr_i32 opcode into extr[lh]_i64_i32 2015-08-24 11:10:54 -07:00
tcg-target.inc.c tcg: Optimize spills of constants 2016-07-05 20:50:13 -07:00