diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-09-15 15:41:39 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-10-03 08:01:02 -0700 |
commit | 464dacf6090d859a919596ba7452498c7446ced1 (patch) | |
tree | 40dff34bf19b1d9282232877d443a43fb4be8217 /softmmu/icount.c | |
parent | e62de981113350194f9c1f78a6a8fd35c03b1599 (diff) |
accel/tcg: Move can_do_io to CPUNegativeOffsetState
Minimize the displacement to can_do_io, since it may
be touched at the start of each TranslationBlock.
It fits into other padding within the substructure.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'softmmu/icount.c')
-rw-r--r-- | softmmu/icount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu/icount.c b/softmmu/icount.c index 144e24829c..956d15e343 100644 --- a/softmmu/icount.c +++ b/softmmu/icount.c @@ -111,7 +111,7 @@ static int64_t icount_get_raw_locked(void) CPUState *cpu = current_cpu; if (cpu && cpu->running) { - if (!cpu->can_do_io) { + if (!cpu->neg.can_do_io) { error_report("Bad icount read"); exit(1); } |