From 0fa2a0660c7516d13bc149ff9a3b417e9778137e Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 9 Oct 2012 14:49:57 -0700 Subject: [PATCH] target-sparc: Fix optimized %icc comparisons Signed-off-by: Richard Henderson Tested-by: Aurelien Jarno Signed-off-by: Blue Swirl --- target-sparc/translate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target-sparc/translate.c b/target-sparc/translate.c index 472eb518cd..71b9d65f91 100644 --- a/target-sparc/translate.c +++ b/target-sparc/translate.c @@ -1120,6 +1120,7 @@ static void gen_compare(DisasCompare *cmp, bool xcc, unsigned int cond, cmp->c2 = tcg_temp_new(); tcg_gen_ext32s_tl(cmp->c1, cpu_cc_src); tcg_gen_ext32s_tl(cmp->c2, cpu_cc_src2); + break; } #endif cmp->g1 = cmp->g2 = true;