projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c544d7
)
target-alpha: fix subl and s8subl indentation
author
Paolo Bonzini
<pbonzini@redhat.com>
Sat, 15 Mar 2014 18:33:15 +0000
(19:33 +0100)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 17 Mar 2014 12:21:12 +0000
(13:21 +0100)
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>
target-alpha/translate.c
patch
|
blob
|
history
diff --git
a/target-alpha/translate.c
b/target-alpha/translate.c
index a9ef1a75079ed6fefef1969cc6dd4198705c07be..e7e319b31de913eeff81ca85b0498a294aa291ea 100644
(file)
--- 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]);
}