diff options
author | Keith Packard <keithp@keithp.com> | 2025-02-18 13:21:01 -0800 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-03-07 15:03:20 +0000 |
commit | 0ce0739d46983e5e88fa9c149cb305689c9d8c6f (patch) | |
tree | 572423dffb4171793c852563d4beeeabbf6c2e90 /rust/qemu-api/src/timer.rs | |
parent | 7610317f45159b620475aafc7a94c93b66eda7e2 (diff) | |
download | qemu-0ce0739d46983e5e88fa9c149cb305689c9d8c6f.zip qemu-0ce0739d46983e5e88fa9c149cb305689c9d8c6f.tar.gz qemu-0ce0739d46983e5e88fa9c149cb305689c9d8c6f.tar.bz2 |
target/rx: Remove TCG_CALL_NO_WG from helpers which write env
Functions which modify TCG globals must not be marked TCG_CALL_NO_WG,
as that tells the optimizer that TCG global values already loaded in
machine registers are still valid, and so any changes which these
helpers make to the CPU state may be ignored.
The target/rx code chooses to put (among other things) all the PSW
bits and also ACC into globals, so the NO_WG flag on various
functions that touch the PSW or ACC is incorrect and must be removed.
This includes all the floating point helper functions, because
update_fpsw() will update PSW Z and S.
Signed-off-by: Keith Packard <keithp@keithp.com>
[PMM: Clarified commit message]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'rust/qemu-api/src/timer.rs')
0 files changed, 0 insertions, 0 deletions