|Faster divides email@example.com (1995-10-14)|
|Re: Faster divides firstname.lastname@example.org (1995-10-23)|
|Re: Faster divides email@example.com (1995-10-25)|
|From:||firstname.lastname@example.org (Christopher Glaeser)|
|Date:||Wed, 25 Oct 1995 21:05:29 GMT|
> shifted by 16 won't fit in 32 bits. Which could be a problem.
When implementing faster divides, it is important to consider these and
other potential problems. Recently, I evaluated the implementations of
integer division for twenty compilers on UNIX, PC, and Mac platforms.
Twelve of these compilers generated incorrect code for integer division.
The most common defect was related to power-of-two division optimization,
but other problems included compile-time core dumps for some bit-patterns,
and exponential optimization algorithms that required several hours to
compile a single divide expression for other bit-patterns.
Christopher Glaeser email@example.com
Return to the
Search the comp.compilers archives again.