github.com/riscv/riscv-go@v0.0.0-20200123204226-124ebd6fcc8e/src/math/sqrt_arm.s (about)

     1  // Copyright 2011 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  #include "textflag.h"
     6  
     7  // func Sqrt(x float64) float64	
     8  TEXT ·Sqrt(SB),NOSPLIT,$0
     9  	MOVD   x+0(FP),F0
    10  	SQRTD  F0,F0
    11  	MOVD  F0,ret+8(FP)
    12  	RET