github.com/likebike/go--@v0.0.0-20190911215757-0bd925d16e96/go/src/math/sqrt_ppc64x.s (about)

     1  // Copyright 2016 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  // +build ppc64 ppc64le
     6  
     7  #include "textflag.h"
     8  
     9  // func Sqrt(x float64) float64
    10  TEXT ·Sqrt(SB),NOSPLIT,$0
    11  	FMOVD	x+0(FP), F0
    12  	FSQRT	F0, F0
    13  	FMOVD	F0, ret+8(FP)
    14  	RET