Commit 72fb1c92 authored by norvell's avatar norvell
Browse files

Add USAN fix for BASOP_Util_Divide3232_Scale_newton under FIX_1528_USAN_BASOP32

parent da527cc1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1409,7 +1409,11 @@ Word32 BASOP_Util_Divide3232_Scale_newton( Word32 x, Word32 y, Word16 *s )
        *s = 0;
        return ( (Word32) 0 );
    }
#ifdef FIX_1528_USAN_BASOP32
    IF( EQ_32( y, (Word32) 0x80000000 ) )
#else
    IF( EQ_32( y, 0x80000000 ) )
#endif
    {
        /* Division by -1.0: same as negation of numerator */
        /* Return normalized negated numerator */