OSDN Git Service

target/i386: Leave TF in DisasContext.flags
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 14 May 2021 15:13:17 +0000 (10:13 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 19 May 2021 17:15:47 +0000 (12:15 -0500)
commitc1de1a1ace8812119aa3184932db25db60bb27dd
tree3d3004a20115587901a0ccb4a3fa82a23571fe02
parent5862579473cffed0ced8d8ccd707673c5387a165
target/i386: Leave TF in DisasContext.flags

It's just as easy to clear the flag with AND than assignment.
In two cases the test for the bit can be folded together with
the test for HF_INHIBIT_IRQ_MASK.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210514151342.384376-26-richard.henderson@linaro.org>
target/i386/tcg/translate.c