summaryrefslogtreecommitdiff
path: root/src/pkg/math/sqrt_amd64.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/math/sqrt_amd64.s')
-rw-r--r--src/pkg/math/sqrt_amd64.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pkg/math/sqrt_amd64.s b/src/pkg/math/sqrt_amd64.s
index 553c4e01b..1508944c9 100644
--- a/src/pkg/math/sqrt_amd64.s
+++ b/src/pkg/math/sqrt_amd64.s
@@ -2,8 +2,10 @@
// 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"
+
// func Sqrt(x float64) float64
-TEXT ·Sqrt(SB),7,$0
+TEXT ·Sqrt(SB),NOSPLIT,$0
SQRTSD x+0(FP), X0
MOVSD X0, ret+8(FP)
RET