mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
accel/tcg: Remove CF_LAST_IO
In cpu_exec_step_atomic, we did not set CF_LAST_IO, which lead
to a loop with cpu_io_recompile.
But since 18a536f1f8
("Always require can_do_io") we no longer
need a flag to indicate when the last insn should have can_do_io set,
so remove the flag entirely.
Reported-by: Clément Chigot <chigot@adacore.com>
Tested-by: Clément Chigot <chigot@adacore.com>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1961
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
6d44474b3b
commit
cf9b5790db
7 changed files with 22 additions and 37 deletions
|
@ -71,13 +71,12 @@ struct TranslationBlock {
|
|||
#define CF_NO_GOTO_TB 0x00000200 /* Do not chain with goto_tb */
|
||||
#define CF_NO_GOTO_PTR 0x00000400 /* Do not chain with goto_ptr */
|
||||
#define CF_SINGLE_STEP 0x00000800 /* gdbstub single-step in effect */
|
||||
#define CF_LAST_IO 0x00008000 /* Last insn may be an IO access. */
|
||||
#define CF_MEMI_ONLY 0x00010000 /* Only instrument memory ops */
|
||||
#define CF_USE_ICOUNT 0x00020000
|
||||
#define CF_INVALID 0x00040000 /* TB is stale. Set with @jmp_lock held */
|
||||
#define CF_PARALLEL 0x00080000 /* Generate code for a parallel context */
|
||||
#define CF_NOIRQ 0x00100000 /* Generate an uninterruptible TB */
|
||||
#define CF_PCREL 0x00200000 /* Opcodes in TB are PC-relative */
|
||||
#define CF_MEMI_ONLY 0x00001000 /* Only instrument memory ops */
|
||||
#define CF_USE_ICOUNT 0x00002000
|
||||
#define CF_INVALID 0x00004000 /* TB is stale. Set with @jmp_lock held */
|
||||
#define CF_PARALLEL 0x00008000 /* Generate code for a parallel context */
|
||||
#define CF_NOIRQ 0x00010000 /* Generate an uninterruptible TB */
|
||||
#define CF_PCREL 0x00020000 /* Opcodes in TB are PC-relative */
|
||||
#define CF_CLUSTER_MASK 0xff000000 /* Top 8 bits are cluster ID */
|
||||
#define CF_CLUSTER_SHIFT 24
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue