diff options
Diffstat (limited to 'src/pkg/math/log_amd64.s')
-rw-r--r-- | src/pkg/math/log_amd64.s | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pkg/math/log_amd64.s b/src/pkg/math/log_amd64.s index 6ae5fbc95..dffc5aec8 100644 --- a/src/pkg/math/log_amd64.s +++ b/src/pkg/math/log_amd64.s @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +#include "../../cmd/ld/textflag.h" + #define HSqrt2 7.07106781186547524401e-01 // sqrt(2)/2 #define Ln2Hi 6.93147180369123816490e-01 // 0x3fe62e42fee00000 #define Ln2Lo 1.90821492927058770002e-10 // 0x3dea39ef35793c76 @@ -17,7 +19,7 @@ #define PosInf 0x7FF0000000000000 // func Log(x float64) float64 -TEXT ·Log(SB),7,$0 +TEXT ·Log(SB),NOSPLIT,$0 // test bits for special cases MOVQ x+0(FP), BX MOVQ $~(1<<63), AX // sign bit mask |