diff options
author | Richard Henderson | 2016-06-20 07:59:13 +0200 |
---|---|---|
committer | Richard Henderson | 2016-07-06 05:50:13 +0200 |
commit | 59d7c14eeff8d2ad7f61aed86ce5a176113bc153 (patch) | |
tree | a35fd8794ff364683cd31b650affc4f3d9289ce1 /hw/net/e1000.c | |
parent | tcg: Fix name for high-half register (diff) | |
download | qemu-59d7c14eeff8d2ad7f61aed86ce5a176113bc153.tar.gz qemu-59d7c14eeff8d2ad7f61aed86ce5a176113bc153.tar.xz qemu-59d7c14eeff8d2ad7f61aed86ce5a176113bc153.zip |
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>
Diffstat (limited to 'hw/net/e1000.c')
0 files changed, 0 insertions, 0 deletions