aboutsummaryrefslogtreecommitdiff
path: root/target-cris
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2016-03-23 15:59:57 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2016-05-18 15:04:27 +0300
commitcb8d4c8f54b8271f642f02382eec29d468bb1c77 (patch)
tree93a1691d7a5d90ddbb77a3210299089fcede4947 /target-cris
parentd506dc87b97659f08c65d3bb470b1b7bfd789759 (diff)
Fix some typos found by codespell
Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target-cris')
-rw-r--r--target-cris/translate.c4
-rw-r--r--target-cris/translate_v10.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/target-cris/translate.c b/target-cris/translate.c
index f28b1999a7..420051e940 100644
--- a/target-cris/translate.c
+++ b/target-cris/translate.c
@@ -3057,7 +3057,7 @@ static unsigned int crisv32_decoder(CPUCRISState *env, DisasContext *dc)
*
* When the software returns from an exception, the branch will re-execute.
* On QEMU care needs to be taken when a branch+delayslot sequence is broken
- * and the branch and delayslot dont share pages.
+ * and the branch and delayslot don't share pages.
*
* The TB contaning the branch insn will set up env->btarget and evaluate
* env->btaken. When the translation loop exits we will note that the branch
@@ -3246,7 +3246,7 @@ void gen_intermediate_code(CPUCRISState *env, struct TranslationBlock *tb)
}
/* If we are rexecuting a branch due to exceptions on
- delay slots dont break. */
+ delay slots don't break. */
if (!(tb->pc & 1) && cs->singlestep_enabled) {
break;
}
diff --git a/target-cris/translate_v10.c b/target-cris/translate_v10.c
index 7607eadfb7..06ba1ef86a 100644
--- a/target-cris/translate_v10.c
+++ b/target-cris/translate_v10.c
@@ -130,7 +130,7 @@ static void cris_set_prefix(DisasContext *dc)
dc->tb_flags |= PFIX_FLAG;
tcg_gen_ori_tl(cpu_PR[PR_CCS], cpu_PR[PR_CCS], PFIX_FLAG);
- /* prefix insns dont clear the x flag. */
+ /* prefix insns don't clear the x flag. */
dc->clear_x = 0;
cris_lock_irq(dc);
}