This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 14851] Final fix for suboptimal fp division with -ffast-math
Uros Bizjak wrote:
However, compiling povray-3.50.c with -ffast-math, 989 (!!) valid
mult/div transformations to (reg) were found and 68 invalid
transformations to (mem), which were rejected. IMHO this looks promising!
Unpatched gcc found 919 valid mul/div transformations and 108 invalid
transformations.
So, with patch, we have exactly 70 multiplications less. 7.6% more
mul/div transformations were transformed, and 30 additional mul/div
candidates were found in povray-3.50c source.
Uros.