commit | 3f40dd3254582722761606c7c99d658f952002d9 | [log] [tgz] |
---|---|---|
author | Martin Storsjö <martin@martin.st> | Sun Mar 29 23:46:23 2020 +0300 |
committer | Martin Storsjö <martin@martin.st> | Fri Apr 17 13:16:47 2020 +0300 |
tree | 12d1823b16bfcb78277aaa6c24b29a44e4f1d460 | |
parent | f384596f3bb51d305807c6f0bdb1cb1e82c27425 [diff] |
crt: Convert the arm sincos.c to assembly This avoids optimizing the sincos function to a recursive call to itself, if built with -ffast-math (unless built with -fno-builtin-sin). While building with -ffast-math can break certain math routines and thus can be considered a self-inflicted issue, it's safest to avoid constructs that potentially can be optimized into an infinite self recursion. Signed-off-by: Martin Storsjö <martin@martin.st>