...

Text file src/math/sqrt_amd64.s

Documentation: math

		 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#include "textflag.h"
		 6
		 7// func archSqrt(x float64) float64
		 8TEXT ·archSqrt(SB), NOSPLIT, $0
		 9	XORPS	X0, X0 // break dependency
		10	SQRTSD x+0(FP), X0
		11	MOVSD	X0, ret+8(FP)
		12	RET

View as plain text