On Thu, Mar 17, 2011 at 12:24 AM, Steven Bosscher <stevenb....@gmail.com> wrote: > Hi, > > The attached patch replace sreal math with mpfr math in predict.c and > host double math in mcf.c also with mpfr math. > > Bootstrapped&tested (incl. ada) on x86_64-unknown-linux-gnu. OK for trunk? > > Anyone a better suggestion for PRED_PRECISION?
It at least seems you are introducing another host dependency here with using HOST_BITS_PER_WIDE_INT. Why not simply use a fixed value of 32? Can you try to explain +/* Using greater precision than the host's widest integer is a recepe for + random profile inconsistencies due to excess precision. */ ? The comment should tell why this is the case, otherwise it isn't helpful. Eliminating sreal for mpfr sounds like a good idea in general. Did you try to measure compile-time differences? Btw, ipa-inline.c contains some real host double arithmetic ... Thanks, Richard. > > Ciao! > Steven >