OSDN Git Service

target/arm: Remove fprintf from disas_simd_mod_imm
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 14 Jun 2021 15:34:06 +0000 (16:34 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Jun 2021 15:18:48 +0000 (16:18 +0100)
The default of this switch is truly unreachable.
The switch selector is 3 bits, and all 8 cases are present.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210604183506.916654-3-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-a64.c

index 2477b55..9bb15ca 100644 (file)
@@ -8291,7 +8291,6 @@ static void disas_simd_mod_imm(DisasContext *s, uint32_t insn)
         }
         break;
     default:
-        fprintf(stderr, "%s: cmode_3_1: %x\n", __func__, cmode_3_1);
         g_assert_not_reached();
     }