mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue