mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
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>
This commit is contained in:
parent
e62de98111
commit
464dacf609
14 changed files with 21 additions and 21 deletions
|
@ -131,7 +131,7 @@ static void cpu_common_reset_hold(Object *obj)
|
|||
cpu->mem_io_pc = 0;
|
||||
cpu->icount_extra = 0;
|
||||
qatomic_set(&cpu->neg.icount_decr.u32, 0);
|
||||
cpu->can_do_io = 1;
|
||||
cpu->neg.can_do_io = true;
|
||||
cpu->exception_index = -1;
|
||||
cpu->crash_occurred = false;
|
||||
cpu->cflags_next_tb = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue