[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/3] target/mips: Fix 'Uncoditional' typo
From: |
Laurent Vivier |
Subject: |
Re: [PATCH 2/3] target/mips: Fix 'Uncoditional' typo |
Date: |
Sat, 5 Jun 2021 21:29:17 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
Le 02/06/2021 à 19:07, Philippe Mathieu-Daudé a écrit :
> Fix Uncoditional -> Unconditional typo.
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> target/mips/tcg/translate.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/target/mips/tcg/translate.c b/target/mips/tcg/translate.c
> index c03a8ae1fed..797eba44347 100644
> --- a/target/mips/tcg/translate.c
> +++ b/target/mips/tcg/translate.c
> @@ -12238,7 +12238,7 @@ static void gen_compute_compact_branch(DisasContext
> *ctx, uint32_t opc,
> }
>
> if (bcond_compute == 0) {
> - /* Uncoditional compact branch */
> + /* Unconditional compact branch */
> switch (opc) {
> case OPC_JIALC:
> tcg_gen_movi_tl(cpu_gpr[31], ctx->base.pc_next + 4 + m16_lowbit);
> @@ -19092,7 +19092,7 @@ static void gen_compute_imm_branch(DisasContext *ctx,
> uint32_t opc,
> ctx->base.is_jmp = DISAS_NORETURN;
>
> if (cond == TCG_COND_ALWAYS) {
> - /* Uncoditional compact branch */
> + /* Unconditional compact branch */
> gen_goto_tb(ctx, 0, ctx->btarget);
> } else {
> /* Conditional compact branch */
> @@ -19201,7 +19201,7 @@ static void
> gen_compute_compact_branch_nm(DisasContext *ctx, uint32_t opc,
> }
>
> if (bcond_compute == 0) {
> - /* Uncoditional compact branch */
> + /* Unconditional compact branch */
> switch (opc) {
> case OPC_BC:
> gen_goto_tb(ctx, 0, ctx->btarget);
>
Applied to my trivial-patches branch.
Thanks,
Laurent