mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	fixup! Dyncom/VFP: Convert denormal outputs into 0 when the FTZ flag is enabled.
This commit is contained in:
		
							parent
							
								
									b1a29371c9
								
							
						
					
					
						commit
						5b46a89230
					
				
					 2 changed files with 0 additions and 4 deletions
				
			
		|  | @ -140,11 +140,9 @@ u32 vfp_double_normaliseround(ARMul_State* state, int dd, struct vfp_double* vd, | ||||||
| 
 | 
 | ||||||
|         if ((type & VFP_DENORMAL) && (fpscr & FPSCR_FLUSH_TO_ZERO)) { |         if ((type & VFP_DENORMAL) && (fpscr & FPSCR_FLUSH_TO_ZERO)) { | ||||||
|             // Flush denormal to positive 0
 |             // Flush denormal to positive 0
 | ||||||
|             exponent = 0; |  | ||||||
|             significand = 0; |             significand = 0; | ||||||
| 
 | 
 | ||||||
|             vd->sign = 0; |             vd->sign = 0; | ||||||
|             vd->exponent = exponent; |  | ||||||
|             vd->significand = significand; |             vd->significand = significand; | ||||||
| 
 | 
 | ||||||
|             underflow = 0; |             underflow = 0; | ||||||
|  |  | ||||||
|  | @ -143,11 +143,9 @@ u32 vfp_single_normaliseround(ARMul_State* state, int sd, struct vfp_single* vs, | ||||||
| 
 | 
 | ||||||
|         if ((type & VFP_DENORMAL) && (fpscr & FPSCR_FLUSH_TO_ZERO)) { |         if ((type & VFP_DENORMAL) && (fpscr & FPSCR_FLUSH_TO_ZERO)) { | ||||||
|             // Flush denormal to positive 0
 |             // Flush denormal to positive 0
 | ||||||
|             exponent = 0; |  | ||||||
|             significand = 0; |             significand = 0; | ||||||
| 
 | 
 | ||||||
|             vs->sign = 0; |             vs->sign = 0; | ||||||
|             vs->exponent = exponent; |  | ||||||
|             vs->significand = significand; |             vs->significand = significand; | ||||||
| 
 | 
 | ||||||
|             underflow = 0; |             underflow = 0; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue