diff mbox series

[v2,19/50] target/i386: Remove DisasContext.f_st as unused

Message ID 20210514151342.384376-20-richard.henderson@linaro.org
State Superseded
Headers show
Series target/i386 translate cleanups | expand

Commit Message

Richard Henderson May 14, 2021, 3:13 p.m. UTC
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

---
 target/i386/tcg/translate.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.25.1

Comments

Paolo Bonzini May 18, 2021, 9:30 a.m. UTC | #1
On 14/05/21 17:13, Richard Henderson wrote:
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

> ---

>   target/i386/tcg/translate.c | 2 --

>   1 file changed, 2 deletions(-)

> 

> diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c

> index 4222f09b6f..7e296b39f5 100644

> --- a/target/i386/tcg/translate.c

> +++ b/target/i386/tcg/translate.c

> @@ -101,7 +101,6 @@ typedef struct DisasContext {

>       int vex_v;  /* vex vvvv register, without 1's complement.  */

>       CCOp cc_op;  /* current CC operation */

>       bool cc_op_dirty;

> -    int f_st;   /* currently unused */

>       int tf;     /* TF cpu flag */

>       int jmp_opt; /* use direct block chaining for direct jumps */

>       int repz_opt; /* optimize jumps within repz instructions */

> @@ -8507,7 +8506,6 @@ static void i386_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cpu)

>       g_assert(LMA(dc) == ((flags & HF_LMA_MASK) != 0));

>       g_assert(ADDSEG(dc) == ((flags & HF_ADDSEG_MASK) != 0));

>   

> -    dc->f_st = 0;

>       dc->tf = (flags >> TF_SHIFT) & 1;

>       dc->cc_op = CC_OP_DYNAMIC;

>       dc->cc_op_dirty = false;

> 


Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
diff mbox series

Patch

diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c
index 4222f09b6f..7e296b39f5 100644
--- a/target/i386/tcg/translate.c
+++ b/target/i386/tcg/translate.c
@@ -101,7 +101,6 @@  typedef struct DisasContext {
     int vex_v;  /* vex vvvv register, without 1's complement.  */
     CCOp cc_op;  /* current CC operation */
     bool cc_op_dirty;
-    int f_st;   /* currently unused */
     int tf;     /* TF cpu flag */
     int jmp_opt; /* use direct block chaining for direct jumps */
     int repz_opt; /* optimize jumps within repz instructions */
@@ -8507,7 +8506,6 @@  static void i386_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cpu)
     g_assert(LMA(dc) == ((flags & HF_LMA_MASK) != 0));
     g_assert(ADDSEG(dc) == ((flags & HF_ADDSEG_MASK) != 0));
 
-    dc->f_st = 0;
     dc->tf = (flags >> TF_SHIFT) & 1;
     dc->cc_op = CC_OP_DYNAMIC;
     dc->cc_op_dirty = false;