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();
 | 
					                cmp->c2 = tcg_temp_new();
 | 
				
			||||||
                tcg_gen_ext32s_tl(cmp->c1, cpu_cc_src);
 | 
					                tcg_gen_ext32s_tl(cmp->c1, cpu_cc_src);
 | 
				
			||||||
                tcg_gen_ext32s_tl(cmp->c2, cpu_cc_src2);
 | 
					                tcg_gen_ext32s_tl(cmp->c2, cpu_cc_src2);
 | 
				
			||||||
 | 
					                break;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
            cmp->g1 = cmp->g2 = true;
 | 
					            cmp->g1 = cmp->g2 = true;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user