OSDN Git Service

test (#52)
[bytom/vapor.git] / vendor / gonum.org / v1 / gonum / internal / math32 / sqrt_amd64.s
1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // Copyright ©2015 The Gonum Authors. All rights reserved.
6 // Use of this source code is governed by a BSD-style
7 // license that can be found in the LICENSE file.
8
9 //+build !noasm,!appengine
10
11 // TODO(kortschak): use textflag.h after we drop Go 1.3 support
12 //#include "textflag.h"
13 // Don't insert stack check preamble.
14 #define NOSPLIT 4
15
16 // func Sqrt(x float32) float32
17 TEXT ·Sqrt(SB),NOSPLIT,$0
18         SQRTSS x+0(FP), X0
19         MOVSS X0, ret+8(FP)
20         RET