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

Issue 1464303002: Implement xorshift128+ for Math.random. (Closed)

Created:
5 years, 1 month ago by Yang
Modified:
5 years ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Implement xorshift128+ for Math.random. BUG=v8:4566 LOG=N Committed: https://crrev.com/2755c5a1b1cf7fc4c5c614378e5231636e6dcff5 Cr-Commit-Position: refs/heads/master@{#32200} Committed: https://crrev.com/085fed0fb5c3b0136827b5d7c190b4bd1c23a23e Cr-Commit-Position: refs/heads/master@{#32206}

Patch Set 1 #

Patch Set 2 : create random numbers in batch #

Patch Set 3 : unify rngs #

Total comments: 2

Patch Set 4 : fix #

Patch Set 5 : bug fix and comment #

Patch Set 6 : addressed comments #

Patch Set 7 : fix #

Patch Set 8 : add missing include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -80 lines) Patch
M src/base/utils/random-number-generator.h View 1 2 3 4 3 chunks +35 lines, -5 lines 0 comments Download
M src/base/utils/random-number-generator.cc View 1 2 3 4 2 chunks +18 lines, -15 lines 0 comments Download
M src/bootstrapper.cc View 1 2 3 4 5 6 1 chunk +0 lines, -18 lines 0 comments Download
M src/js/math.js View 1 2 3 4 5 2 chunks +17 lines, -23 lines 0 comments Download
M src/js/prologue.js View 1 3 chunks +1 line, -5 lines 0 comments Download
M src/runtime/runtime.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/runtime/runtime-maths.cc View 1 2 3 4 5 6 7 2 chunks +44 lines, -11 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (12 generated)
Yang
Please take a look. Xorshift128+ is a standard algorithm, and I've verified locally that it ...
5 years, 1 month ago (2015-11-23 13:38:36 UTC) #2
Benedikt Meurer
Can we import TestU01 so we don't regress?
5 years, 1 month ago (2015-11-23 13:39:32 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1464303002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1464303002/60001
5 years, 1 month ago (2015-11-23 14:02:47 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win64_rel/builds/11059) v8_win_rel on ...
5 years, 1 month ago (2015-11-23 14:16:17 UTC) #7
Jakob Kummerow
LGTM with nits. https://codereview.chromium.org/1464303002/diff/40001/src/js/math.js File src/js/math.js (right): https://codereview.chromium.org/1464303002/diff/40001/src/js/math.js#newcode14 src/js/math.js:14: define kRandomNumberStart = 2; nit: maybe ...
5 years, 1 month ago (2015-11-23 14:34:08 UTC) #8
Jakob Kummerow
patch set 6 LGTM
5 years, 1 month ago (2015-11-24 09:24:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1464303002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1464303002/100001
5 years, 1 month ago (2015-11-24 10:16:02 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years ago (2015-11-24 10:59:03 UTC) #13
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/2755c5a1b1cf7fc4c5c614378e5231636e6dcff5 Cr-Commit-Position: refs/heads/master@{#32200}
5 years ago (2015-11-24 10:59:38 UTC) #14
Yang
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1475493003/ by yangguo@chromium.org. ...
5 years ago (2015-11-24 11:32:17 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1464303002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1464303002/120001
5 years ago (2015-11-24 12:32:49 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/6841)
5 years ago (2015-11-24 12:35:02 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1464303002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1464303002/140001
5 years ago (2015-11-24 12:37:49 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-24 13:13:50 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1464303002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1464303002/140001
5 years ago (2015-11-24 13:17:00 UTC) #27
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years ago (2015-11-24 13:18:15 UTC) #28
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/085fed0fb5c3b0136827b5d7c190b4bd1c23a23e Cr-Commit-Position: refs/heads/master@{#32206}
5 years ago (2015-11-24 13:18:48 UTC) #29
Jakob Kummerow
5 years ago (2015-11-24 13:20:24 UTC) #30
Message was sent while issue was closed.
Ah, yes, patch set 8 LGTM, meant to say so sooner.

Powered by Google App Engine
This is Rietveld 408576698