This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: floor on i386


> Note, that this optimization is necessary if gcc don't want to have 4% of
> the performance of icc for Intel iA32. For example a MPEG-2 Layer 2 decoder
> spends 65% of the execution time in rounding floats to integers (Athlon).
> This is not a joke, it's a flaw of the compiler.
Can't it just use rint function, as disucssed earlier?

Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]