mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	same fix as last commit - just for vfpsingle.cpp
This commit is contained in:
		@@ -327,13 +327,13 @@ u32 vfp_estimate_sqrt_significand(u32 exponent, u32 significand)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
static u32 vfp_single_fsqrt(ARMul_State* state, int sd, int unused, s32 m, u32 fpscr)
 | 
					static u32 vfp_single_fsqrt(ARMul_State* state, int sd, int unused, s32 m, u32 fpscr)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct vfp_single vsm, vsd;
 | 
						struct vfp_single vsm, vsd, *vsp;
 | 
				
			||||||
	int ret, tm;
 | 
						int ret, tm;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	vfp_single_unpack(&vsm, m);
 | 
						vfp_single_unpack(&vsm, m);
 | 
				
			||||||
	tm = vfp_single_type(&vsm);
 | 
						tm = vfp_single_type(&vsm);
 | 
				
			||||||
	if (tm & (VFP_NAN|VFP_INFINITY)) {
 | 
						if (tm & (VFP_NAN|VFP_INFINITY)) {
 | 
				
			||||||
		struct vfp_single *vsp = &vsd;
 | 
							vsp = &vsd;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (tm & VFP_NAN)
 | 
							if (tm & VFP_NAN)
 | 
				
			||||||
			ret = vfp_propagate_nan(vsp, &vsm, NULL, fpscr);
 | 
								ret = vfp_propagate_nan(vsp, &vsm, NULL, fpscr);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user