mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-11-20 18:14:57 +00:00
Several helpers call helper_raise_exception directly, which requires in turn that their callers have performed save_state. The new function allows a TCG return address to be passed in so that we can restore PC + NPC + flags data from that. This fixes a bug in the usage of helper_check_align, whose callers had not been calling save_state. It fixes another bug in which the divide helpers used GETPC at a level other than the direct callee from TCG. This allows the translator to avoid save_state prior to SAVE, RESTORE, and FLUSHW instructions. Backports commit 2f9d35fc4006122bad33f9ae3e2e51d2263e98ee from qemu |
||
|---|---|---|
| .. | ||
| asi.h | ||
| cc_helper.c | ||
| cpu-qom.h | ||
| cpu.c | ||
| cpu.h | ||
| fop_helper.c | ||
| helper.c | ||
| helper.h | ||
| int32_helper.c | ||
| int64_helper.c | ||
| ldst_helper.c | ||
| Makefile.objs | ||
| mmu_helper.c | ||
| TODO | ||
| translate.c | ||
| unicorn.c | ||
| unicorn.h | ||
| unicorn64.c | ||
| vis_helper.c | ||
| win_helper.c | ||