[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH V2 09/14] sh4/: fix some comment spelling errors
From: |
zhaolichang |
Subject: |
[PATCH V2 09/14] sh4/: fix some comment spelling errors |
Date: |
Fri, 9 Oct 2020 14:44:44 +0800 |
I found that there are many spelling errors in the comments of qemu/target/sh4.
I used spellcheck to check the spelling errors and found some errors in the
folder.
Signed-off-by: zhaolichang <zhaolichang@huawei.com>
Reviewed-by: David Edmondson <david.edmondson@oracle.com>
Reviewed-by: Philippe Mathieu-Daude<f4bug@amsat.org>
---
target/sh4/cpu.h | 2 +-
target/sh4/op_helper.c | 2 +-
target/sh4/translate.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/sh4/cpu.h b/target/sh4/cpu.h
index dbe58c7888..91fa9498f0 100644
--- a/target/sh4/cpu.h
+++ b/target/sh4/cpu.h
@@ -160,7 +160,7 @@ typedef struct CPUSH4State {
uint32_t pteh; /* page table entry high register */
uint32_t ptel; /* page table entry low register */
uint32_t ptea; /* page table entry assistance register */
- uint32_t ttb; /* tranlation table base register */
+ uint32_t ttb; /* translation table base register */
uint32_t tea; /* TLB exception address register */
uint32_t tra; /* TRAPA exception register */
uint32_t expevt; /* exception event register */
diff --git a/target/sh4/op_helper.c b/target/sh4/op_helper.c
index 14c3db0f48..9de4152735 100644
--- a/target/sh4/op_helper.c
+++ b/target/sh4/op_helper.c
@@ -400,7 +400,7 @@ float32 helper_fsrra_FT(CPUSH4State *env, float32 t0)
t0 = float32_div(float32_one, t0, &env->fp_status);
/* Since this is supposed to be an approximation, an imprecision
exception is required. One supposes this also follows the usual
- IEEE rule that other exceptions take precidence. */
+ IEEE rule that other exceptions take precedence. */
if (get_float_exception_flags(&env->fp_status) == 0) {
set_float_exception_flags(float_flag_inexact, &env->fp_status);
}
diff --git a/target/sh4/translate.c b/target/sh4/translate.c
index 60c863d9e1..c57218eb7d 100644
--- a/target/sh4/translate.c
+++ b/target/sh4/translate.c
@@ -1959,7 +1959,7 @@ static void decode_gusa(DisasContext *ctx, CPUSH4State
*env)
NEXT_INSN;
switch (ctx->opcode & 0xf00f) {
case 0x6003: /* mov Rm,Rn */
- /* Here we want to recognize ld_dst being saved for later consumtion,
+ /* Here we want to recognize ld_dst being saved for later consumption,
or for another input register being copied so that ld_dst need not
be clobbered during the operation. */
op_dst = B11_8;
--
2.26.2.windows.1
- [PATCH V2 06/14] mips/: fix some comment spelling errors, (continued)
- [PATCH V2 06/14] mips/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 05/14] tricore/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 10/14] i386/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 07/14] s390x/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 08/14] m68k/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 12/14] arm/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 14/14] target/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 09/14] sh4/: fix some comment spelling errors,
zhaolichang <=
- [PATCH V2 11/14] avr/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 13/14] alpha/: fix some comment spelling errors, zhaolichang, 2020/10/09
- Re: [PATCH V2 00/14] fix some comment spelling errors, no-reply, 2020/10/09
- Re: [PATCH V2 00/14] fix some comment spelling errors, Lichang Zhao, 2020/10/19