]> Git Repo - qemu.git/commitdiff
target-sparc: Fix optimized %icc comparisons
authorRichard Henderson <[email protected]>
Tue, 9 Oct 2012 21:49:57 +0000 (14:49 -0700)
committerBlue Swirl <[email protected]>
Sat, 13 Oct 2012 10:17:28 +0000 (10:17 +0000)
Signed-off-by: Richard Henderson <[email protected]>
Tested-by: Aurelien Jarno <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
target-sparc/translate.c

index 472eb518cd8a0e78f2b84c2742ed6cd959868def..71b9d65f9131cea16d3cf7acf2ac2cda624cae15 100644 (file)
@@ -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;
This page took 0.030569 seconds and 4 git commands to generate.