Message ID | 20210514151342.384376-21-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | target/i386 translate cleanups | expand |
On 14/05/21 17:13, Richard Henderson wrote: > The value comes from tb->flags, which is uint32_t. > > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> > --- > target/i386/tcg/translate.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c > index 7e296b39f5..ca7f0a8cf4 100644 > --- a/target/i386/tcg/translate.c > +++ b/target/i386/tcg/translate.c > @@ -105,7 +105,7 @@ typedef struct DisasContext { > int jmp_opt; /* use direct block chaining for direct jumps */ > int repz_opt; /* optimize jumps within repz instructions */ > int mem_index; /* select memory access functions */ > - uint64_t flags; /* all execution flags */ > + uint32_t flags; /* all execution flags */ > int popl_esp_hack; /* for correct popl with esp base handling */ > int rip_offset; /* only used in x86_64, but left for simplicity */ > int cpuid_features; > Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c index 7e296b39f5..ca7f0a8cf4 100644 --- a/target/i386/tcg/translate.c +++ b/target/i386/tcg/translate.c @@ -105,7 +105,7 @@ typedef struct DisasContext { int jmp_opt; /* use direct block chaining for direct jumps */ int repz_opt; /* optimize jumps within repz instructions */ int mem_index; /* select memory access functions */ - uint64_t flags; /* all execution flags */ + uint32_t flags; /* all execution flags */ int popl_esp_hack; /* for correct popl with esp base handling */ int rip_offset; /* only used in x86_64, but left for simplicity */ int cpuid_features;
The value comes from tb->flags, which is uint32_t. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/i386/tcg/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1