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

Issue 15973010: Split LoadStatic into two instructions: load static filed, load value. (Closed)

Created:
7 years, 6 months ago by srdjan
Modified:
7 years, 6 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, Vyacheslav Egorov (Google)
Visibility:
Public.

Description

Split LoadStatic into two instructions: load static field, load value from static field. This allows to canonicalize loads, thus reducing the number of inlined constants. Has large benefit on x64 (DeltaBlue). Note different register allocation spec for ia32, otherwise large regression in DeltaBlue is introduced. R=fschneider@google.com Committed: https://code.google.com/p/dart/source/detail?r=24044

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 4

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -38 lines) Patch
M runtime/vm/flow_graph_builder.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 5 6 7 8 9 5 chunks +6 lines, -5 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/il_printer.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -6 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 3 4 5 6 7 8 9 2 chunks +11 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -5 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 3 4 5 6 7 8 9 1 chunk +11 lines, -5 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -5 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
srdjan
7 years, 6 months ago (2013-06-13 22:37:12 UTC) #1
srdjan
While x64 benefit is reproducible on my Mac, none is measurable on golem :-( ?!
7 years, 6 months ago (2013-06-13 23:07:21 UTC) #2
Florian Schneider
https://codereview.chromium.org/15973010/diff/52001/runtime/vm/intermediate_language_ia32.cc File runtime/vm/intermediate_language_ia32.cc (right): https://codereview.chromium.org/15973010/diff/52001/runtime/vm/intermediate_language_ia32.cc#newcode1768 runtime/vm/intermediate_language_ia32.cc:1768: // generate better code. Side note: We have a ...
7 years, 6 months ago (2013-06-14 08:55:05 UTC) #3
srdjan
https://codereview.chromium.org/15973010/diff/52001/runtime/vm/intermediate_language_ia32.cc File runtime/vm/intermediate_language_ia32.cc (right): https://codereview.chromium.org/15973010/diff/52001/runtime/vm/intermediate_language_ia32.cc#newcode1768 runtime/vm/intermediate_language_ia32.cc:1768: // generate better code. On 2013/06/14 08:55:05, Florian Schneider ...
7 years, 6 months ago (2013-06-14 14:00:04 UTC) #4
Florian Schneider
lgtm
7 years, 6 months ago (2013-06-14 14:08:58 UTC) #5
Florian Schneider
On 2013/06/14 14:00:04, srdjan wrote: > https://codereview.chromium.org/15973010/diff/52001/runtime/vm/intermediate_language_ia32.cc > File runtime/vm/intermediate_language_ia32.cc (right): > > https://codereview.chromium.org/15973010/diff/52001/runtime/vm/intermediate_language_ia32.cc#newcode1768 > ...
7 years, 6 months ago (2013-06-14 14:09:10 UTC) #6
srdjan
On 2013/06/14 14:09:10, Florian Schneider wrote: > On 2013/06/14 14:00:04, srdjan wrote: > > > ...
7 years, 6 months ago (2013-06-14 14:18:56 UTC) #7
srdjan
7 years, 6 months ago (2013-06-14 18:15:55 UTC) #8
Message was sent while issue was closed.
Committed patchset #10 manually as r24044 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698