diff mbox series

[02/20] target/arm: Don't call tcg_clear_temp_count

Message ID 20181011205206.3552-3-richard.henderson@linaro.org
State New
Headers show
Series target/arm: Convert some neon insns to gvec | expand

Commit Message

Richard Henderson Oct. 11, 2018, 8:51 p.m. UTC
This is done generically in translator_loop.

Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

---
 target/arm/translate-a64.c | 1 -
 target/arm/translate.c     | 1 -
 2 files changed, 2 deletions(-)

-- 
2.17.1

Comments

Philippe Mathieu-Daudé Oct. 11, 2018, 11:35 p.m. UTC | #1
On 11/10/2018 22:51, Richard Henderson wrote:
> This is done generically in translator_loop.

> 

> Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>

> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>


> ---

>  target/arm/translate-a64.c | 1 -

>  target/arm/translate.c     | 1 -

>  2 files changed, 2 deletions(-)

> 

> diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c

> index 76b5ca3606..ac9723c1b9 100644

> --- a/target/arm/translate-a64.c

> +++ b/target/arm/translate-a64.c

> @@ -13899,7 +13899,6 @@ static void aarch64_tr_init_disas_context(DisasContextBase *dcbase,

>  

>  static void aarch64_tr_tb_start(DisasContextBase *db, CPUState *cpu)

>  {

> -    tcg_clear_temp_count();

>  }

>  

>  static void aarch64_tr_insn_start(DisasContextBase *dcbase, CPUState *cpu)

> diff --git a/target/arm/translate.c b/target/arm/translate.c

> index 426db7828a..736880ee71 100644

> --- a/target/arm/translate.c

> +++ b/target/arm/translate.c

> @@ -12701,7 +12701,6 @@ static void arm_tr_tb_start(DisasContextBase *dcbase, CPUState *cpu)

>          tcg_gen_movi_i32(tmp, 0);

>          store_cpu_field(tmp, condexec_bits);

>      }

> -    tcg_clear_temp_count();

>  }

>  

>  static void arm_tr_insn_start(DisasContextBase *dcbase, CPUState *cpu)

>
diff mbox series

Patch

diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c
index 76b5ca3606..ac9723c1b9 100644
--- a/target/arm/translate-a64.c
+++ b/target/arm/translate-a64.c
@@ -13899,7 +13899,6 @@  static void aarch64_tr_init_disas_context(DisasContextBase *dcbase,
 
 static void aarch64_tr_tb_start(DisasContextBase *db, CPUState *cpu)
 {
-    tcg_clear_temp_count();
 }
 
 static void aarch64_tr_insn_start(DisasContextBase *dcbase, CPUState *cpu)
diff --git a/target/arm/translate.c b/target/arm/translate.c
index 426db7828a..736880ee71 100644
--- a/target/arm/translate.c
+++ b/target/arm/translate.c
@@ -12701,7 +12701,6 @@  static void arm_tr_tb_start(DisasContextBase *dcbase, CPUState *cpu)
         tcg_gen_movi_i32(tmp, 0);
         store_cpu_field(tmp, condexec_bits);
     }
-    tcg_clear_temp_count();
 }
 
 static void arm_tr_insn_start(DisasContextBase *dcbase, CPUState *cpu)