qemu-s390x
[Top][All Lists]
Advanced

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

[PATCH v2 2/6] tcg/arm: Replace goto statement by fall through comment


From: Philippe Mathieu-Daudé
Subject: [PATCH v2 2/6] tcg/arm: Replace goto statement by fall through comment
Date: Wed, 13 Jan 2021 18:24:55 +0100

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 tcg/arm/tcg-target.c.inc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tcg/arm/tcg-target.c.inc b/tcg/arm/tcg-target.c.inc
index 59bd196994f..0ffb2b13d14 100644
--- a/tcg/arm/tcg-target.c.inc
+++ b/tcg/arm/tcg-target.c.inc
@@ -1947,10 +1947,8 @@ static void tcg_out_op(TCGContext *s, TCGOpcode opc,
     case INDEX_op_ctz_i32:
         tcg_out_dat_reg(s, COND_AL, INSN_RBIT, TCG_REG_TMP, 0, a1, 0);
         a1 = TCG_REG_TMP;
-        goto do_clz;
-
+        /* Fall through.  */
     case INDEX_op_clz_i32:
-    do_clz:
         c = c2;
         if (c && a2 == 32) {
             tcg_out_dat_reg(s, COND_AL, INSN_CLZ, a0, 0, a1, 0);
-- 
2.26.2




reply via email to

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