Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10)

Side by Side Diff: src/pkg/math/atan2_386.s

Issue 160200044: [dev.power64] code review 160200044: build: merge default into dev.power64 (Closed)
Patch Set: diff -r be0c14f62257b42485019e9e1db23cf40d2e249f https://code.google.com/p/go Created 10 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pkg/math/asin_arm.s ('k') | src/pkg/math/atan2_amd64.s » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "../../cmd/ld/textflag.h" 5 #include "textflag.h"
6 6
7 // func Atan2(y, x float64) float64 // =atan(y/x) 7 // func Atan2(y, x float64) float64 // =atan(y/x)
8 TEXT ·Atan2(SB),NOSPLIT,$0 8 TEXT ·Atan2(SB),NOSPLIT,$0
9 FMOVD y+0(FP), F0 // F0=y 9 FMOVD y+0(FP), F0 // F0=y
10 FMOVD x+8(FP), F0 // F0=x, F1=y 10 FMOVD x+8(FP), F0 // F0=x, F1=y
11 FPATAN // F0=atan(F1/F0) 11 FPATAN // F0=atan(F1/F0)
12 FMOVDP F0, ret+16(FP) 12 FMOVDP F0, ret+16(FP)
13 RET 13 RET
OLDNEW
« no previous file with comments | « src/pkg/math/asin_arm.s ('k') | src/pkg/math/atan2_amd64.s » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b