mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-11-04 19:45:07 +00:00
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. Backports commit 59d7c14eeff8d2ad7f61aed86ce5a176113bc153 from qemu |
||
|---|---|---|
| .. | ||
| tcg-target.h | ||
| tcg-target.inc.c | ||