You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Microsoft C compiler, among others, implements divisions by constant integers C (where C is not an integral power of 2) as described in the paper Division by Invariant Integers using Multiplication. Reko fails to discover this. Thus, a simple
C
x = f / 10;
becomes
``` C
uint32 tmp = SLICE(f * ~0x33333332, word32, 32);
x = tmp >> 3;
This needs to be recognized by reko and handled better
The text was updated successfully, but these errors were encountered:
The Microsoft C compiler, among others, implements divisions by constant integers C (where C is not an integral power of 2) as described in the paper Division by Invariant Integers using Multiplication. Reko fails to discover this. Thus, a simple
C
x = f / 10;
This needs to be recognized by reko and handled better
The text was updated successfully, but these errors were encountered: