target-sparc: Fix optimized %icc comparisons
Signed-off-by: Richard Henderson <rth@twiddle.net> Tested-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
ae72f3f539
commit
0fa2a0660c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user