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

Issue 1705073005: CodeStubAssembler can generate code for builtins (Closed)

Created:
4 years, 10 months ago by binji
Modified:
4 years, 9 months ago
Reviewers:
Benedikt Meurer, Jarin
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

CodeStubAssembler can generate code for builtins This will be used for generating the Atomics builtins. BUG=v8:4614 R=jarin@chromium.org LOG=y Committed: https://crrev.com/b9aa3ce764b06d2fc2273e0bba95ae373b722281 Cr-Commit-Position: refs/heads/master@{#34413}

Patch Set 1 #

Total comments: 4

Patch Set 2 : more tests, and suggested fix for JSFunction #

Patch Set 3 : fix BitFieldValue and LoadHeapNumber tests #

Patch Set 4 : 1234.5 -> 1234.0 #

Patch Set 5 : fix arm64 #

Patch Set 6 : check for 64-bit #

Patch Set 7 : add SmiUntag32 #

Total comments: 10

Patch Set 8 : rename #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -12 lines) Patch
M src/compiler/code-stub-assembler.h View 1 2 3 4 5 6 7 7 chunks +33 lines, -4 lines 0 comments Download
M src/compiler/code-stub-assembler.cc View 1 2 3 4 5 6 7 6 chunks +50 lines, -8 lines 0 comments Download
M src/compiler/linkage.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/raw-machine-assembler.cc View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-code-stub-assembler.cc View 1 2 3 4 5 6 7 2 chunks +84 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (12 generated)
binji
PTAL. This was extracted from https://codereview.chromium.org/1617503003/. The test is not working, but I don't understand ...
4 years, 10 months ago (2016-02-18 02:22:30 UTC) #1
Jarin
https://codereview.chromium.org/1705073005/diff/1/test/cctest/compiler/test-code-stub-assembler.cc File test/cctest/compiler/test-code-stub-assembler.cc (right): https://codereview.chromium.org/1705073005/diff/1/test/cctest/compiler/test-code-stub-assembler.cc#newcode264 test/cctest/compiler/test-code-stub-assembler.cc:264: FunctionTester ft(kNumParams - 1, code); // Implicit undefined receiver. ...
4 years, 10 months ago (2016-02-18 09:04:39 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1705073005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1705073005/1
4 years, 10 months ago (2016-02-18 10:39:21 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/15517)
4 years, 10 months ago (2016-02-18 11:18:10 UTC) #6
Jarin
https://codereview.chromium.org/1705073005/diff/1/test/cctest/compiler/test-code-stub-assembler.cc File test/cctest/compiler/test-code-stub-assembler.cc (right): https://codereview.chromium.org/1705073005/diff/1/test/cctest/compiler/test-code-stub-assembler.cc#newcode269 test/cctest/compiler/test-code-stub-assembler.cc:269: } Actually, FunctionTester as a whole seems to be ...
4 years, 10 months ago (2016-02-18 12:32:15 UTC) #7
binji
https://codereview.chromium.org/1705073005/diff/1/test/cctest/compiler/test-code-stub-assembler.cc File test/cctest/compiler/test-code-stub-assembler.cc (right): https://codereview.chromium.org/1705073005/diff/1/test/cctest/compiler/test-code-stub-assembler.cc#newcode264 test/cctest/compiler/test-code-stub-assembler.cc:264: FunctionTester ft(kNumParams - 1, code); // Implicit undefined receiver. ...
4 years, 10 months ago (2016-02-18 19:35:18 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1705073005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1705073005/20001
4 years, 10 months ago (2016-02-18 19:35:41 UTC) #10
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/10311)
4 years, 10 months ago (2016-02-18 19:52:24 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1705073005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1705073005/40001
4 years, 10 months ago (2016-02-18 20:27:48 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_rel_ng/builds/3029) v8_win_rel_ng_triggered on ...
4 years, 10 months ago (2016-02-18 20:49:43 UTC) #16
binji
Weird, looks like the rounding mode for ChangeFloat64ToUint32 is different on x86 vs. x64?
4 years, 10 months ago (2016-02-18 23:28:20 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1705073005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1705073005/60001
4 years, 10 months ago (2016-02-18 23:42:46 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/15565)
4 years, 10 months ago (2016-02-19 00:20:03 UTC) #21
binji
On 2016/02/19 00:20:03, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 10 months ago (2016-02-19 03:34:48 UTC) #22
Jarin
On 2016/02/19 03:34:48, binji wrote: > On 2016/02/19 00:20:03, commit-bot: I haz the power wrote: ...
4 years, 10 months ago (2016-02-19 06:55:29 UTC) #23
Jarin
On 2016/02/19 03:34:48, binji wrote: > On 2016/02/19 00:20:03, commit-bot: I haz the power wrote: ...
4 years, 10 months ago (2016-02-19 06:55:34 UTC) #24
Jarin
On 2016/02/18 23:28:20, binji wrote: > Weird, looks like the rounding mode for ChangeFloat64ToUint32 is ...
4 years, 10 months ago (2016-02-19 07:15:54 UTC) #25
binji
On 2016/02/19 07:15:54, Jarin wrote: > On 2016/02/18 23:28:20, binji wrote: > > Weird, looks ...
4 years, 10 months ago (2016-02-19 18:44:35 UTC) #26
Jarin
lgtm from my side, but Benedikt had some plans with builtin code generators, so I ...
4 years, 9 months ago (2016-02-29 20:04:43 UTC) #28
Benedikt Meurer
Nice, just a few naming nits. Please go ahead, LGTM! https://codereview.chromium.org/1705073005/diff/120001/src/compiler/code-stub-assembler.h File src/compiler/code-stub-assembler.h (right): https://codereview.chromium.org/1705073005/diff/120001/src/compiler/code-stub-assembler.h#newcode219 ...
4 years, 9 months ago (2016-03-01 04:54:45 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1705073005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1705073005/140001
4 years, 9 months ago (2016-03-01 21:55:37 UTC) #32
binji
https://codereview.chromium.org/1705073005/diff/120001/src/compiler/code-stub-assembler.h File src/compiler/code-stub-assembler.h (right): https://codereview.chromium.org/1705073005/diff/120001/src/compiler/code-stub-assembler.h#newcode219 src/compiler/code-stub-assembler.h:219: Node* SmiUntag32(Node* value); On 2016/03/01 04:54:44, Benedikt Meurer wrote: ...
4 years, 9 months ago (2016-03-01 21:56:38 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 9 months ago (2016-03-01 22:05:01 UTC) #34
commit-bot: I haz the power
4 years, 9 months ago (2016-03-01 22:05:43 UTC) #36
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/b9aa3ce764b06d2fc2273e0bba95ae373b722281
Cr-Commit-Position: refs/heads/master@{#34413}

Powered by Google App Engine
This is Rietveld 408576698