summaryrefslogtreecommitdiff
path: root/src/pkg/math/sqrt_386.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/math/sqrt_386.s')
-rw-r--r--src/pkg/math/sqrt_386.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pkg/math/sqrt_386.s b/src/pkg/math/sqrt_386.s
new file mode 100644
index 000000000..d0a428d52
--- /dev/null
+++ b/src/pkg/math/sqrt_386.s
@@ -0,0 +1,10 @@
+// Copyright 2009 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// func Sqrt(x float64) float64
+TEXT ·Sqrt(SB),7,$0
+ FMOVD x+0(FP),F0
+ FSQRT
+ FMOVDP F0,r+8(FP)
+ RET