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

Issue 1336313002: VectorICs: ia32 store ics need a virtual register. (Closed)

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

Description

VectorICs: ia32 store ics need a virtual register. Some pretty hacky code was used to carry out the tail-call handler dispatch on ia32 vector stores due to a lack of free registers. It really tanks performance. A better approach is to use a virtual register on the isolate. BUG= Committed: https://crrev.com/b26e98f19b5e77df50cb4a259f099ee6afa335e3 Cr-Commit-Position: refs/heads/master@{#30718}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Code comments. #

Total comments: 2

Patch Set 3 : One more comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -19 lines) Patch
M src/assembler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/assembler.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 8 chunks +24 lines, -14 lines 0 comments Download
M src/ic/ia32/stub-cache-ia32.cc View 1 3 chunks +8 lines, -4 lines 0 comments Download
M src/isolate.h View 2 chunks +6 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/snapshot/serialize.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
mvstanton
Hi Jakob, I've reintroduced the semi-comical virtual register we discussed before. The performance profile is ...
5 years, 3 months ago (2015-09-14 13:23:45 UTC) #2
Jakob Kummerow
+vogelheim for src/snapshot/ OWNERS approval. LGTM with nits (comments like proper capitalization). https://codereview.chromium.org/1336313002/diff/1/src/ia32/code-stubs-ia32.cc File src/ia32/code-stubs-ia32.cc ...
5 years, 3 months ago (2015-09-14 14:02:42 UTC) #4
vogelheim
lgtm for src/snapshot https://codereview.chromium.org/1336313002/diff/20001/src/snapshot/serialize.cc File src/snapshot/serialize.cc (right): https://codereview.chromium.org/1336313002/diff/20001/src/snapshot/serialize.cc#newcode144 src/snapshot/serialize.cc:144: Add(ExternalReference::vector_store_virtual_register(isolate).address(), super nitpick: Maybe move a ...
5 years, 3 months ago (2015-09-14 14:21:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1336313002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1336313002/40001
5 years, 3 months ago (2015-09-14 14:25:27 UTC) #8
mvstanton
thanks guys! --Michael https://codereview.chromium.org/1336313002/diff/1/src/ia32/code-stubs-ia32.cc File src/ia32/code-stubs-ia32.cc (right): https://codereview.chromium.org/1336313002/diff/1/src/ia32/code-stubs-ia32.cc#newcode4599 src/ia32/code-stubs-ia32.cc:4599: __ pop(handler); // pop "value". On ...
5 years, 3 months ago (2015-09-14 14:25:36 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 3 months ago (2015-09-14 14:49:28 UTC) #10
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/b26e98f19b5e77df50cb4a259f099ee6afa335e3 Cr-Commit-Position: refs/heads/master@{#30718}
5 years, 3 months ago (2015-09-14 14:49:49 UTC) #11
Michael Achenbach
5 years, 3 months ago (2015-09-14 18:58:32 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1340123002/ by machenbach@chromium.org.

The reason for reverting is: [Sheriff] Breaks GC stress on mac:
http://build.chromium.org/p/client.v8/builders/V8%20Mac%20GC%20Stress/builds/....

Powered by Google App Engine
This is Rietveld 408576698