qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 02/11] target/cris: Replace DISAS_TB_JUMP with DISAS_NORET


From: Richard Henderson
Subject: Re: [PATCH v2 02/11] target/cris: Replace DISAS_TB_JUMP with DISAS_NORETURN
Date: Mon, 21 Jun 2021 16:32:59 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 6/21/21 1:01 PM, Philippe Mathieu-Daudé wrote:
On 6/20/21 11:32 PM, Richard Henderson wrote:
The only semantic of DISAS_TB_JUMP is that we've done goto_tb,
which is the same as DISAS_NORETURN -- we've exited the tb.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  target/cris/translate.c | 7 +++----
  1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/target/cris/translate.c b/target/cris/translate.c
index bed7a7ed10..2ff4319dd1 100644
--- a/target/cris/translate.c
+++ b/target/cris/translate.c
@@ -55,7 +55,6 @@
  /* is_jmp field values */
  #define DISAS_JUMP    DISAS_TARGET_0 /* only pc was modified dynamically */
  #define DISAS_UPDATE  DISAS_TARGET_1 /* cpu state was modified dynamically */
-#define DISAS_TB_JUMP DISAS_TARGET_2 /* only pc was modified statically */
  #define DISAS_SWI     DISAS_TARGET_3

Can we #define DISAS_SWI DISAS_TARGET_2 in the same commit?

No point.  It goes away in patch 4.


r~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]