Norman Vine wrote:

Hmm....
    [40]     24.060   1.7%   29.3%     61.140   4.3%       2038  __powf (libm.so: 
fpow.c, 145)
    [96]     19.500   1.4%   35.3%     19.500   1.4%        650  __exp (libm.so: 
exp.c, 103)
   [102]     17.460   1.2%   37.8%     17.460   1.2%        582  __log (libm.so: 
log.c, 207)

I don't think these ever showed up before :-(

Maybe this will help show how not to have pow() show up anyway
The others often have work arounds too.

Thanks Norman, this gave a framerate boost of 2.5x on my system!
I never thought using pow() would give such a performance reduction, but if I had know I would have optimized this before.


Erik



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to