summaryrefslogtreecommitdiff
path: root/src/pkg/go/build/pkgtest/sqrt_amd64.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/go/build/pkgtest/sqrt_amd64.s')
-rw-r--r--src/pkg/go/build/pkgtest/sqrt_amd64.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pkg/go/build/pkgtest/sqrt_amd64.s b/src/pkg/go/build/pkgtest/sqrt_amd64.s
new file mode 100644
index 000000000..f5b329e70
--- /dev/null
+++ b/src/pkg/go/build/pkgtest/sqrt_amd64.s
@@ -0,0 +1,9 @@
+// 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
+ SQRTSD x+0(FP), X0
+ MOVSD X0, r+8(FP)
+ RET