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

Issue 2532073002: X87: [test] disable number-tostring test case for x87. (Closed)

Created:
4 years ago by zhengxing.li
Modified:
4 years ago
Reviewers:
chunyang.dai, Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

X87: [test] disable number-tostring test case for x87. The reason: The CL #41255 (https://codereview.chromium.org/2520363002 ) reimplemnt the Number.prototype.toString and the added number-tostring test cases failed at x87. Similar to many previos fixing CLs, i.e.: CL #37371 (https://codereview.chromium.org/2111493002 ), the root reason is: The Gcc compiler and it's dependent C++ libraris on linux platform use x87 in extended 80-bit double precision by default. So the reimplemented DoubleToRadixCString() will generate extended 80-bit double precision result which isn't the expected standard 64-bit double precision value. Although modifying DoubleToRadixCString() function to manually do the 80-bit <--> 64-bit conversion for each double/float computation step can fix this issue, but it wll drop the DoubleToRadixCString() function's performance of other architectures. This CL put the failed number-tostring test cases into number-tostring-big-integer.js and disables it for x87. BUG= Committed: https://crrev.com/0c6b6138bf7b3ebd407bef08ac2dedbeb7cdb881 Cr-Commit-Position: refs/heads/master@{#41322}

Patch Set 1 #

Patch Set 2 : updated the CL according to Yang's suggestions #

Total comments: 1

Patch Set 3 : adhere to the 80 characters per line limit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -3 lines) Patch
M test/mjsunit/mjsunit.status View 1 1 chunk +6 lines, -0 lines 0 comments Download
M test/mjsunit/number-tostring.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
A test/mjsunit/number-tostring-big-integer.js View 1 2 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
zhengxing.li
PTAL, thanks!
4 years ago (2016-11-28 10:52:49 UTC) #2
Yang
On 2016/11/28 10:52:49, zhengxing.li wrote: > PTAL, thanks! Can you factor out the items that ...
4 years ago (2016-11-28 10:58:02 UTC) #3
zhengxing.li
On 2016/11/28 10:58:02, Yang wrote: > On 2016/11/28 10:52:49, zhengxing.li wrote: > > PTAL, thanks! ...
4 years ago (2016-11-28 13:58:45 UTC) #4
Yang
On 2016/11/28 13:58:45, zhengxing.li wrote: > On 2016/11/28 10:58:02, Yang wrote: > > On 2016/11/28 ...
4 years ago (2016-11-28 13:59:33 UTC) #5
zhengxing.li
On 2016/11/28 13:59:33, Yang wrote: > On 2016/11/28 13:58:45, zhengxing.li wrote: > > On 2016/11/28 ...
4 years ago (2016-11-28 14:00:39 UTC) #6
zhengxing.li
On 2016/11/28 14:00:39, zhengxing.li wrote: > On 2016/11/28 13:59:33, Yang wrote: > > On 2016/11/28 ...
4 years ago (2016-11-28 14:46:07 UTC) #8
Yang
lgtm with nit. https://codereview.chromium.org/2532073002/diff/20001/test/mjsunit/number-tostring-big-integer.js File test/mjsunit/number-tostring-big-integer.js (right): https://codereview.chromium.org/2532073002/diff/20001/test/mjsunit/number-tostring-big-integer.js#newcode33 test/mjsunit/number-tostring-big-integer.js:33: assertEquals("314404114120101444444424000000000000000",(1.2345e+27).toString(5)); please adhere to the 80 ...
4 years ago (2016-11-28 14:49:33 UTC) #9
zhengxing.li
On 2016/11/28 14:49:33, Yang wrote: > lgtm with nit. > > https://codereview.chromium.org/2532073002/diff/20001/test/mjsunit/number-tostring-big-integer.js > File test/mjsunit/number-tostring-big-integer.js ...
4 years ago (2016-11-28 14:57:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2532073002/40001
4 years ago (2016-11-28 15:04:24 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-28 15:31:13 UTC) #16
commit-bot: I haz the power
4 years ago (2016-11-28 15:31:28 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0c6b6138bf7b3ebd407bef08ac2dedbeb7cdb881
Cr-Commit-Position: refs/heads/master@{#41322}

Powered by Google App Engine
This is Rietveld 408576698