summaryrefslogtreecommitdiff
path: root/src/pkg/math/hypot_amd64.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/math/hypot_amd64.s')
-rw-r--r--src/pkg/math/hypot_amd64.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pkg/math/hypot_amd64.s b/src/pkg/math/hypot_amd64.s
index 40ba6f41d..5c0ff4dd8 100644
--- a/src/pkg/math/hypot_amd64.s
+++ b/src/pkg/math/hypot_amd64.s
@@ -2,11 +2,13 @@
// 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 PosInf 0x7FF0000000000000
#define NaN 0x7FF8000000000001
// func Hypot(p, q float64) float64
-TEXT ·Hypot(SB),7,$0
+TEXT ·Hypot(SB),NOSPLIT,$0
// test bits for special cases
MOVQ p+0(FP), BX
MOVQ $~(1<<63), AX