Loading lib_com/enh1632.c +4 −0 Original line number Diff line number Diff line Loading @@ -410,12 +410,16 @@ Word16 shl_r( Word16 var1, Word16 var2 ) var_out = shr_r( var1, var2 ); #endif #ifdef WMOPS #ifndef FIX_1049_SHR_RO_COMPLEXITY multiCounter[currCounter].shr_r--; #endif #endif /* ifdef WMOPS */ } #ifdef WMOPS #ifndef FIX_1049_SHR_RO_COMPLEXITY multiCounter[currCounter].shl_r++; #endif #endif /* ifdef WMOPS */ return ( var_out ); Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -85,4 +85,5 @@ #define FIX_ISSUE_1062_AND_1068_TON_ENE_EST_FX #define FIX_1054_IF_ELSE_CMPLX /* VA: Fix 1054 incorrect counting of complexity when ELSE-IF sequence is encoutered in two functions */ #define FIX_1052_COPY_CMPLX_DISCREPANCY /* VA: modify IF-ELSE statements used in Copy*() functions to avoid dependency on x[] and y[] in RAM */ #define FIX_1049_SHR_RO_COMPLEXITY /* VA: fix for issue 1049: incorrect counting of complexity in the shr_ro() function */ #endif Loading
lib_com/enh1632.c +4 −0 Original line number Diff line number Diff line Loading @@ -410,12 +410,16 @@ Word16 shl_r( Word16 var1, Word16 var2 ) var_out = shr_r( var1, var2 ); #endif #ifdef WMOPS #ifndef FIX_1049_SHR_RO_COMPLEXITY multiCounter[currCounter].shr_r--; #endif #endif /* ifdef WMOPS */ } #ifdef WMOPS #ifndef FIX_1049_SHR_RO_COMPLEXITY multiCounter[currCounter].shl_r++; #endif #endif /* ifdef WMOPS */ return ( var_out ); Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -85,4 +85,5 @@ #define FIX_ISSUE_1062_AND_1068_TON_ENE_EST_FX #define FIX_1054_IF_ELSE_CMPLX /* VA: Fix 1054 incorrect counting of complexity when ELSE-IF sequence is encoutered in two functions */ #define FIX_1052_COPY_CMPLX_DISCREPANCY /* VA: modify IF-ELSE statements used in Copy*() functions to avoid dependency on x[] and y[] in RAM */ #define FIX_1049_SHR_RO_COMPLEXITY /* VA: fix for issue 1049: incorrect counting of complexity in the shr_ro() function */ #endif