Side by Side Diff: src/pkg/math/abs_386.s
Issue 5158043 :
code review 5158043: math: remove the leading F from Fabs etc. (Closed)
Patch Set: diff -r bc60e3827d04 https://go.googlecode.com/hg/
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
src/cmd/gofix/Makefile
src/cmd/gofix/math.go
src/cmd/gofix/math_test.go
src/pkg/cmath/asin.go
src/pkg/cmath/sin.go
src/pkg/cmath/sqrt.go
src/pkg/cmath/tan.go
src/pkg/json/scanner_test.go
src/pkg/math/Makefile
src/pkg/math/abs.go
src/pkg/math/abs_386.s
src/pkg/math/abs_amd64.s
src/pkg/math/abs_decl.go
src/pkg/math/all_test.go
src/pkg/math/bits.go
src/pkg/math/dim.go
src/pkg/math/dim_amd64.s
src/pkg/math/dim_decl.go
src/pkg/math/gamma.go
src/pkg/math/jn.go
src/pkg/math/lgamma.go
src/pkg/math/mod.go
src/pkg/math/mod_386.s
src/pkg/math/mod_decl.go
src/pkg/math/pow.go
src/pkg/math/remainder.go
src/pkg/rand/rand_test.go
OLD NEW
1 // Copyright 2010 The Go Authors. All rights reserved. 1 // Copyright 2010 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // func Fabs (x float64) float64 5 // func Abs (x float64) float64
6 TEXT · Fabs (SB),7,$0 6 TEXT · Abs (SB),7,$0
7 FMOVD x+0(FP), F0 // F0=x 7 FMOVD x+0(FP), F0 // F0=x
8 FABS // F0=|x| 8 FABS // F0=|x|
9 FMOVDP F0, r+8(FP) 9 FMOVDP F0, r+8(FP)
10 RET 10 RET
OLD NEW