I have a small problem.
I need to calculate x = (a*b)/c.
Problem is, that a,b and c are 32 bit long, and the machine doesn't have a 64/32 bit division. The code the compiler generates in this case is ugly and slow (yep, it's time-critical). Does anyone has an idea how to do a fast version with 2 or maybe 4 ordinary 32/32 divisions?
Thank you in advance,
(P.S. Please don't quote ugly c-code from the gnu lib)