Re: Optimize sreal::normalize

2014-12-17 Thread Richard Biener
On Tue, Dec 16, 2014 at 9:37 PM, Jan Hubicka wrote: > Hi, > I have optimized inliner to take advantage that the heap is now in sreal and > found that using small numbers leads to excessive time (7% of WPA) spent by > sreal::normalize. This is because the normalization is implemented by loops > th

Optimize sreal::normalize

2014-12-16 Thread Jan Hubicka
Hi, I have optimized inliner to take advantage that the heap is now in sreal and found that using small numbers leads to excessive time (7% of WPA) spent by sreal::normalize. This is because the normalization is implemented by loops that are unnecesary and can account considerable time when trippe