Sam Hocevar
|
14a3e1f739
|
core: fix a bug on the PS3 version of lol_sin().
|
před 14 roky |
Sam Hocevar
|
b3e2429b9e
|
core: avoid returning to memory when giving GCC floating point hints.
|
před 14 roky |
Sam Hocevar
|
320e70d8c4
|
core: a few compilation fixes for non-GCC compilers.
|
před 14 roky |
Sam Hocevar
|
5feadd8b6a
|
core: fix PS3 compilation; the lol_fdiv implementation was missing.
|
před 14 roky |
Sam Hocevar
|
bf164def53
|
core: fix an accuracy error in the cos() part of lol_sincos().
|
před 14 roky |
Sam Hocevar
|
2489233a44
|
core: improve tan() accuracy by tweaking higher order Taylor coefficients.
|
před 14 roky |
Sam Hocevar
|
82d81256b9
|
core: implement accelerated lol_sincos() and lol_tan().
|
před 14 roky |
Sam Hocevar
|
5be195a8b0
|
core: slightly reorganise Taylor series in sin() and cos().
|
před 14 roky |
Sam Hocevar
|
49f9c59ff3
|
core: implement accelerated cos().
|
před 14 roky |
Sam Hocevar
|
a65c472ffd
|
core: add a code shortcut for sin() on platforms that have cheap branches.
|
před 14 roky |
Sam Hocevar
|
824551e4af
|
optim: split the Taylor series calculation into two separate values.
This is at the cost of one additional multiply, but performance increases
by more than 11%, because the PS3 pipeline is a lot happier now.
|
před 14 roky |
Sam Hocevar
|
de496b15fe
|
core: remove one multiplication and one selection from the optimised
version of sinf().
|
před 14 roky |
Sam Hocevar
|
42b22f1163
|
core: minor optimisation in the x86 version of lol_sin()
Instead of dividing by 2 and rounding with magic number 2^52, we round with
magic number 2^53, which gives us the parity with at least one mul less.
|
před 14 roky |
Sam Hocevar
|
1b33a7fcb7
|
core: start implementing optimised trigonometry functions for PS3 and x86.
|
před 14 roky |