Loading lib_com/basop32.h +6 −4 Original line number Diff line number Diff line Loading @@ -202,7 +202,8 @@ static INLINE Word16 i_mult( Word16 a, Word16 b ) /* Weight FF { fprintf( stderr, "BASOP WATCH i_mult: 0x%08X = 0x%04X * 0x%04X (legacy: 0x%08X <= 16 bit overflow in File: %s, line: %d\n", c, a & 0xFFFF, b & 0xFFFF, (Word32) c1, fname, linenumber ); BASOP_WATCH_i_mult_Cnt++; assert( 0 ); //assert( 0 ); return c1; } } #endif Loading Loading @@ -251,8 +252,8 @@ static INLINE Word16 i_mult_o( Word16 a, Word16 b, Flag *Overflow ) /* integer M if ( Overflow == (Flag *) NULL ) printf( "BASOP WATCH i_mult_o: Overflow == NULL File: %s, line: %d\n", fname, linenumber ); BASOP_WATCH_i_mult_o_Cnt++; // return (Word16) c1; // Legacy return value to bypass Crash due to NULL pointer assert( 0 ); // assert( 0 ); return c1; // Legacy return value to bypass Crash due to NULL pointer } } Loading Loading @@ -320,7 +321,8 @@ static INLINE Word16 i_mult_sat( Word16 a, Word16 b ) /* integer Mpy with satura { fprintf( stderr, "BASOP WATCH i_mult_sat: 0x%08X = 0x%04X * 0x%04X (legacy: 0x%08X <= 16 bit overflow File: %s line %d\n", c, a & 0xFFFF, b & 0xFFFF, (Word32) c1, fname, linenumber ); BASOP_WATCH_i_mult_sat_Cnt++; assert( 0 ); //assert( 0 ); return c1; } } #endif /* BASOP_WATCH_i_mult_sat */ Loading Loading
lib_com/basop32.h +6 −4 Original line number Diff line number Diff line Loading @@ -202,7 +202,8 @@ static INLINE Word16 i_mult( Word16 a, Word16 b ) /* Weight FF { fprintf( stderr, "BASOP WATCH i_mult: 0x%08X = 0x%04X * 0x%04X (legacy: 0x%08X <= 16 bit overflow in File: %s, line: %d\n", c, a & 0xFFFF, b & 0xFFFF, (Word32) c1, fname, linenumber ); BASOP_WATCH_i_mult_Cnt++; assert( 0 ); //assert( 0 ); return c1; } } #endif Loading Loading @@ -251,8 +252,8 @@ static INLINE Word16 i_mult_o( Word16 a, Word16 b, Flag *Overflow ) /* integer M if ( Overflow == (Flag *) NULL ) printf( "BASOP WATCH i_mult_o: Overflow == NULL File: %s, line: %d\n", fname, linenumber ); BASOP_WATCH_i_mult_o_Cnt++; // return (Word16) c1; // Legacy return value to bypass Crash due to NULL pointer assert( 0 ); // assert( 0 ); return c1; // Legacy return value to bypass Crash due to NULL pointer } } Loading Loading @@ -320,7 +321,8 @@ static INLINE Word16 i_mult_sat( Word16 a, Word16 b ) /* integer Mpy with satura { fprintf( stderr, "BASOP WATCH i_mult_sat: 0x%08X = 0x%04X * 0x%04X (legacy: 0x%08X <= 16 bit overflow File: %s line %d\n", c, a & 0xFFFF, b & 0xFFFF, (Word32) c1, fname, linenumber ); BASOP_WATCH_i_mult_sat_Cnt++; assert( 0 ); //assert( 0 ); return c1; } } #endif /* BASOP_WATCH_i_mult_sat */ Loading