target/ppc: Fix typo in comments
PATCH v2 1/1 target/ppc: Fix typo in comments
"Deferred" was misspelled as "differed" in some comments, correct this typo,
Signed-off-by BALATON Zoltan <[email protected]>
---
v2: Found one more where even the typo was misspelled
target/ppc/fpu_helper.c | 4 ++--
target/ppc/translate/fp-impl.inc.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
target/ppc/fpu_helper.c +2 -2
@@ -293,7 +293,7 @@ static void float_invalid_op_vxvc(CPUPPCState *env, bool set_fpcc, env->error_code =POWERPC_EXCP_FP |POWERPC_EXCP_FP_VXVC ;/* Update the floating-point enabled exception summary */ env->fpscr |=FP_FEX ; -/* Exception is differed */ +/* Exception is deferred */ } }
@@ -644,7 +644,7 @@ static void do_float_check_status(CPUPPCState *env, uintptr_t raddr)if (cs->exception_index ==POWERPC_EXCP_PROGRAM && (env->error_code &POWERPC_EXCP_FP )) { -/* Differred floating-point exception after target FPR update */ +/* Deferred floating-point exception after target FPR update */ if (fp_exceptions_enabled (env)) {raise_exception_err_ra (env, cs->exception_index, env->error_code, raddr);
target/ppc/translate/fp-impl.inc.c +3 -3
@@ -781,7 +781,7 @@ static void gen_mtfsb1(DisasContext *ctx)tcg_gen_trunc_tl_i32 (cpu_crf[1 ], cpu_fpscr);tcg_gen_shri_i32 (cpu_crf[1 ], cpu_crf[1 ],FPSCR_OX ); } -/* We can raise a differed exception */ +/* We can raise a deferred exception */ gen_helper_float_check_status (cpu_env); }
@@ -817,7 +817,7 @@ static void gen_mtfsf(DisasContext *ctx)tcg_gen_trunc_tl_i32 (cpu_crf[1 ], cpu_fpscr);tcg_gen_shri_i32 (cpu_crf[1 ], cpu_crf[1 ],FPSCR_OX ); } -/* We can raise a differed exception */ +/* We can raise a deferred exception */ gen_helper_float_check_status (cpu_env);tcg_temp_free_i64 (t1); }
@@ -850,7 +850,7 @@ static void gen_mtfsfi(DisasContext *ctx)tcg_gen_trunc_tl_i32 (cpu_crf[1 ], cpu_fpscr);tcg_gen_shri_i32 (cpu_crf[1 ], cpu_crf[1 ],FPSCR_OX ); } -/* We can raise a differed exception */ +/* We can raise a deferred exception */ gen_helper_float_check_status (cpu_env); }
Signature · 1 line
2.21.1
Quoted 4 lines · BALATON Zoltan
"Deferred" was misspelled as "differed" in some comments, correct this typo,
Signed-off-by BALATON Zoltan <[email protected]>
I've replaced the earlier version in my tree.
Quoted 60 lines
---
v2: Found one more where even the typo was misspelled
target/ppc/fpu_helper.c| 4 ++--target/ppc/translate/fp-impl.inc.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)target/ppc/fpu_helper.c +2
-2@@ -293,7 +293,7 @@ static void float_invalid_op_vxvc(CPUPPCState *env, bool set_fpcc, env->error_code =POWERPC_EXCP_FP |POWERPC_EXCP_FP_VXVC ;/* Update the floating-point enabled exception summary */ env->fpscr |=FP_FEX ; -/* Exception is differed */ +/* Exception is deferred */ } }@@ -644,7 +644,7 @@ static void do_float_check_status(CPUPPCState *env, uintptr_t raddr)if (cs->exception_index ==POWERPC_EXCP_PROGRAM && (env->error_code &POWERPC_EXCP_FP )) { -/* Differred floating-point exception after target FPR update */ +/* Deferred floating-point exception after target FPR update */ if (fp_exceptions_enabled (env)) {raise_exception_err_ra (env, cs->exception_index, env->error_code, raddr);target/ppc/translate/fp-impl.inc.c +3
-3@@ -781,7 +781,7 @@ static void gen_mtfsb1(DisasContext *ctx)tcg_gen_trunc_tl_i32 (cpu_crf[1 ], cpu_fpscr);tcg_gen_shri_i32 (cpu_crf[1 ], cpu_crf[1 ],FPSCR_OX ); } -/* We can raise a differed exception */ +/* We can raise a deferred exception */ gen_helper_float_check_status (cpu_env); }@@ -817,7 +817,7 @@ static void gen_mtfsf(DisasContext *ctx)tcg_gen_trunc_tl_i32 (cpu_crf[1 ], cpu_fpscr);tcg_gen_shri_i32 (cpu_crf[1 ], cpu_crf[1 ],FPSCR_OX ); } -/* We can raise a differed exception */ +/* We can raise a deferred exception */ gen_helper_float_check_status (cpu_env);tcg_temp_free_i64 (t1); }@@ -850,7 +850,7 @@ static void gen_mtfsfi(DisasContext *ctx)tcg_gen_trunc_tl_i32 (cpu_crf[1 ], cpu_fpscr);tcg_gen_shri_i32 (cpu_crf[1 ], cpu_crf[1 ],FPSCR_OX ); } -/* We can raise a differed exception */ +/* We can raise a deferred exception */ gen_helper_float_check_status (cpu_env); }
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson