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

Issue 145920043: code review 145920043: math: fix amd64 Sincos CMPSD register handling (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 8 months ago by josharian
Modified:
9 years, 8 months ago
Reviewers:
rsc, iant
CC:
golang-codereviews
Visibility:
Public.

Description

math: fix amd64 Sincos CMPSD register handling CMPSD only populates half the SSE register, but we were using the entire register. This manifested itself as sin and cos being reversed in quadrants 1 and 2 in a program that used a cgo lib. I'm honestly not sure how this ever worked. Fixes issue 8623.

Patch Set 1 #

Patch Set 2 : diff -r 2694ad0b98615ebdf85b2cbe6622a17db69621b0 https://code.google.com/p/go #

Patch Set 3 : diff -r 2694ad0b98615ebdf85b2cbe6622a17db69621b0 https://code.google.com/p/go #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M src/math/sincos_amd64.s View 1 1 chunk +1 line, -0 lines 1 comment Download

Messages

Total messages: 4
josharian
Hello rsc@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
9 years, 8 months ago (2014-09-18 18:45:44 UTC) #1
iant
https://codereview.appspot.com/145920043/diff/40001/src/math/sincos_amd64.s File src/math/sincos_amd64.s (right): https://codereview.appspot.com/145920043/diff/40001/src/math/sincos_amd64.s#newcode104 src/math/sincos_amd64.s:104: MOVHLPS X3, X3 I'm probably being an idiot but ...
9 years, 8 months ago (2014-09-18 18:55:52 UTC) #2
josharian
> I'm probably being an idiot but this doesn't make sense to me. Don't you ...
9 years, 8 months ago (2014-09-18 18:58:59 UTC) #3
josharian
9 years, 8 months ago (2014-09-18 19:52:20 UTC) #4
*** Abandoned ***
Sign in to reply to this message.

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