Version 4 (modified by sam, 8 years ago) (diff)


Optimisation logbook

A list of optimisation decisions and their effect on performances.


  • [885] [886] [888] Started importing Ryan Sammartino's PS3 trigonometry library in the core ().
  • [890] Do the Taylor series on x / π instead of x: results in a measurable 2% speed increase in sin() (ppu-lv2-g++)
  • [891] Do the Taylor series in two steps, for better pipelining at the cost of one extra multiplication: a notable 11% speed increase in sin() (ppu-lv2-g++)

Note: there is currently no way to build all the engine using SNC. However, individual files can be built using a command along the following one:

touch trig.cpp
ps3ppusnc.exe -c trig.cpp -O3 -Xreorder=1 -Xfastmath=1 -o liblol_a-trig.o -I.