Re: [Mingw-w64-public] [PATCH 3/3] crt: Convert the arm sincos.c to assembly

2020-04-17 Thread Martin Storsjö
On Wed, 8 Apr 2020, Martin Storsjö wrote: On Wed, 8 Apr 2020, Liu Hao wrote: 在 2020/4/8 2:01, Martin Storsjö 写道: 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

Re: [Mingw-w64-public] [PATCH 3/3] crt: Convert the arm sincos.c to assembly

2020-04-08 Thread Martin Storsjö
On Wed, 8 Apr 2020, Liu Hao wrote: 在 2020/4/8 2:01, Martin Storsjö 写道: 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 consi

Re: [Mingw-w64-public] [PATCH 3/3] crt: Convert the arm sincos.c to assembly

2020-04-08 Thread Liu Hao
在 2020/4/8 2:01, Martin Storsjö 写道: > 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,

[Mingw-w64-public] [PATCH 3/3] crt: Convert the arm sincos.c to assembly

2020-04-07 Thread Martin Storsjö
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 potentia