aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/math/sqrt_arm.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/math/sqrt_arm.s')
-rw-r--r--src/pkg/math/sqrt_arm.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pkg/math/sqrt_arm.s b/src/pkg/math/sqrt_arm.s
new file mode 100644
index 0000000000..befbb8a898
--- /dev/null
+++ b/src/pkg/math/sqrt_arm.s
@@ -0,0 +1,10 @@
+// Copyright 2011 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
+ MOVD x+0(FP),F0
+ SQRTD F0,F0
+ MOVD F0,r+8(FP)
+ RET