aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorLichang Zhao <zhaolichang@huawei.com>2020-10-09 14:44:39 +0800
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-10-27 00:22:56 +0100
commit9784143808a0692adf98578e4ba89170c83da354 (patch)
tree0f3ef541a4e2f9e357f94fc606cfd893749fd915 /target
parent23b5d9fa099aa2fcd89869a4fc581a26c63edb1a (diff)
downloadqemu-9784143808a0692adf98578e4ba89170c83da354.zip
qemu-9784143808a0692adf98578e4ba89170c83da354.tar.gz
qemu-9784143808a0692adf98578e4ba89170c83da354.tar.bz2
target/rx: Fix some comment spelling errors
There are many spelling errors in the comments of target/rx. Use spellcheck to check the spelling errors, then fix them. Signed-off-by: zhaolichang <zhaolichang@huawei.com> Reviewed-by: David Edmondson <david.edmondson@oracle.com> Reviewed-by: Philippe Mathieu-Daude<f4bug@amsat.org> Message-Id: <20201009064449.2336-5-zhaolichang@huawei.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'target')
-rw-r--r--target/rx/op_helper.c2
-rw-r--r--target/rx/translate.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/rx/op_helper.c b/target/rx/op_helper.c
index f89d294..59389f4 100644
--- a/target/rx/op_helper.c
+++ b/target/rx/op_helper.c
@@ -318,7 +318,7 @@ void helper_swhile(CPURXState *env, uint32_t sz)
env->psw_c = (tmp <= env->regs[2]);
}
-/* accumlator operations */
+/* accumulator operations */
void helper_rmpa(CPURXState *env, uint32_t sz)
{
uint64_t result_l, prev;
diff --git a/target/rx/translate.c b/target/rx/translate.c
index 482278e..9ea941c 100644
--- a/target/rx/translate.c
+++ b/target/rx/translate.c
@@ -1089,7 +1089,7 @@ static void rx_sub(TCGv ret, TCGv arg1, TCGv arg2)
tcg_gen_xor_i32(temp, arg1, arg2);
tcg_gen_and_i32(cpu_psw_o, cpu_psw_o, temp);
tcg_temp_free_i32(temp);
- /* CMP not requred return */
+ /* CMP not required return */
if (ret) {
tcg_gen_mov_i32(ret, cpu_psw_s);
}