aboutsummaryrefslogtreecommitdiff
path: root/target-arm/translate.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-04-28 17:20:37 +0200
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-05-08 10:02:18 +0100
commit1301f32205433bf82d32a458d090b87335cc8f99 (patch)
tree3f6518a215bc4f37a2eda2301b0e7b2b78292e86 /target-arm/translate.c
parent60b14d955dbdbe28d5203fd75e0b3c48ce83ce9c (diff)
downloadqemu-1301f32205433bf82d32a458d090b87335cc8f99.zip
qemu-1301f32205433bf82d32a458d090b87335cc8f99.tar.gz
qemu-1301f32205433bf82d32a458d090b87335cc8f99.tar.bz2
Fix typos in comments (neccessary -> necessary)
Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'target-arm/translate.c')
-rw-r--r--target-arm/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c
index a1af436..3119137 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -7348,7 +7348,7 @@ static void disas_arm_insn(CPUState * env, DisasContext *s)
} else if ((insn & 0x000003e0) == 0x00000060) {
tmp = load_reg(s, rm);
shift = (insn >> 10) & 3;
- /* ??? In many cases it's not neccessary to do a
+ /* ??? In many cases it's not necessary to do a
rotate, a shift is sufficient. */
if (shift != 0)
tcg_gen_rotri_i32(tmp, tmp, shift * 8);
@@ -8139,7 +8139,7 @@ static int disas_thumb2_insn(CPUState *env, DisasContext *s, uint16_t insn_hw1)
case 1: /* Sign/zero extend. */
tmp = load_reg(s, rm);
shift = (insn >> 4) & 3;
- /* ??? In many cases it's not neccessary to do a
+ /* ??? In many cases it's not necessary to do a
rotate, a shift is sufficient. */
if (shift != 0)
tcg_gen_rotri_i32(tmp, tmp, shift * 8);