libroot/glibc: Use .double instead of .tfloat on Clang.

Clang's equivalent of .tfloat is .x86_fp80, but apparently that
is not enabled for Haiku. So for now, use .double instead.
This is the same thing MinGW does.
This commit is contained in:
Augustin Cavalier 2018-08-01 19:04:25 -04:00
parent 834100c94f
commit ca57e33abb
1 changed files with 4 additions and 0 deletions

View File

@ -20,7 +20,11 @@ RCSID("$NetBSD: s_log1p.S,v 1.7 1995/05/09 00:10:58 jtc Exp $")
-1 + sqrt(2) / 2 <= x <= 1 - sqrt(2) / 2
0.29 is a safe value.
*/
#ifndef __clang__
limit: .tfloat 0.29
#else
limit: .double 0.29 /* TODO: figure out why x86_fp80 causes clang to error */
#endif
/* Please note: we use a double value here. Since 1.0 has
an exact representation this does not effect the accuracy
but it helps to optimize the code. */