summaryrefslogtreecommitdiffstats
path: root/target-alpha/translate.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-03-15 19:33:15 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2014-03-17 13:21:12 +0100
commit83d1c8ae881e88d70cf23bc8007cf5739313d23c (patch)
tree02937fd568c26085371af31ba1215c3571a79a56 /target-alpha/translate.c
parent0c544d73bbb4c8612b7754a8e1c8b0c8af1617ff (diff)
downloadhqemu-83d1c8ae881e88d70cf23bc8007cf5739313d23c.zip
hqemu-83d1c8ae881e88d70cf23bc8007cf5739313d23c.tar.gz
target-alpha: fix subl and s8subl indentation
Two missing braces, one close and one open, fabulously let the code compile. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-alpha/translate.c')
-rw-r--r--target-alpha/translate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index a9ef1a7..e7e319b 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@ -1927,6 +1927,7 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
else {
tcg_gen_neg_i64(cpu_ir[rc], cpu_ir[rb]);
tcg_gen_ext32s_i64(cpu_ir[rc], cpu_ir[rc]);
+ }
}
}
break;
@@ -1991,7 +1992,7 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
} else {
if (islit)
tcg_gen_movi_i64(cpu_ir[rc], -lit);
- else
+ else {
tcg_gen_neg_i64(cpu_ir[rc], cpu_ir[rb]);
tcg_gen_ext32s_i64(cpu_ir[rc], cpu_ir[rc]);
}
OpenPOWER on IntegriCloud