Text file src/math/sqrt_ppc64x.s

     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  //go:build ppc64 || ppc64le
     6  // +build ppc64 ppc64le
     7  
     8  #include "textflag.h"
     9  
    10  // func archSqrt(x float64) float64
    11  TEXT ¬∑archSqrt(SB),NOSPLIT,$0
    12  	FMOVD	x+0(FP), F0
    13  	FSQRT	F0, F0
    14  	FMOVD	F0, ret+8(FP)
    15  	RET
    16  

View as plain text