github.com/tcnksm/go@v0.0.0-20141208075154-439b32936367/src/math/abs_386.s (about)

     1  // Copyright 2010 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 Abs(x float64) float64
     8  TEXT ·Abs(SB),NOSPLIT,$0
     9  	FMOVD   x+0(FP), F0  // F0=x
    10  	FABS                 // F0=|x|
    11  	FMOVDP  F0, ret+8(FP)
    12  	RET