Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Issue 9690010: Ensure consistency of Math.sqrt on Intel platforms. (Closed)

Created:
8 years, 9 months ago by Yang
Modified:
8 years, 9 months ago
Reviewers:
Sven Panne
CC:
v8-dev
Visibility:
Public.

Description

Ensure consistency of Math.sqrt on Intel platforms. BUG= TEST=regress-sqrt.js Committed: https://code.google.com/p/v8/source/detail?r=11012

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed suggestions. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -58 lines) Patch
M src/arm/codegen-arm.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M src/codegen.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 1 2 chunks +38 lines, -3 lines 1 comment Download
M src/mips/codegen-mips.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M src/platform.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/platform-posix.cc View 1 chunk +21 lines, -21 lines 0 comments Download
M src/platform-win32.cc View 1 chunk +21 lines, -21 lines 0 comments Download
M src/runtime.cc View 1 2 chunks +5 lines, -3 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 2 chunks +26 lines, -3 lines 0 comments Download
A test/mjsunit/regress/regress-sqrt.js View 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Yang
PTAL.
8 years, 9 months ago (2012-03-12 12:12:47 UTC) #1
Sven Panne
http://codereview.chromium.org/9690010/diff/1/src/ia32/codegen-ia32.cc File src/ia32/codegen-ia32.cc (right): http://codereview.chromium.org/9690010/diff/1/src/ia32/codegen-ia32.cc#newcode114 src/ia32/codegen-ia32.cc:114: if (buffer == NULL || !V8::UseCrankshaft()) return &sqrt; Using ...
8 years, 9 months ago (2012-03-12 13:23:46 UTC) #2
Yang
Please take another look.
8 years, 9 months ago (2012-03-12 14:44:39 UTC) #3
Sven Panne
8 years, 9 months ago (2012-03-12 14:50:20 UTC) #4
LGTM with a tiny nit.

http://codereview.chromium.org/9690010/diff/5001/src/ia32/codegen-ia32.cc
File src/ia32/codegen-ia32.cc (right):

http://codereview.chromium.org/9690010/diff/5001/src/ia32/codegen-ia32.cc#new...
src/ia32/codegen-ia32.cc:120: ASSERT(CpuFeatures::IsSupported(SSE2));
I think we can safely remove this assertion.

Powered by Google App Engine
This is Rietveld 408576698