Chromium Code Reviews

Issue 6693066: Extend crankshaft support for global stores (Closed)

Created:
9 years, 8 months ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
Reviewers:
fschneider
CC:
v8-dev
Visibility:
Public.

Description

Extend crankshaft support for global stores All global stores are now supported in crankshaft by using the normal store IC when other optimizations are not possible due to the state of the global object. R=fschneider@chromium.org BUG= TEST= Committed: http://code.google.com/p/v8/source/detail?r=7495

Patch Set 1 #

Total comments: 17

Patch Set 2 : Addressed review comments #

Unified diffs Side-by-side diffs Stats (+257 lines, -36 lines)
M src/arm/lithium-arm.h View 2 chunks +23 lines, -5 lines 0 comments
M src/arm/lithium-arm.cc View 1 chunk +12 lines, -3 lines 0 comments
M src/arm/lithium-codegen-arm.cc View 2 chunks +11 lines, -1 line 0 comments
M src/hydrogen.cc View 1 chunk +14 lines, -2 lines 0 comments
M src/hydrogen-instructions.h View 4 chunks +39 lines, -6 lines 0 comments
M src/hydrogen-instructions.cc View 1 chunk +7 lines, -1 line 0 comments
M src/ia32/lithium-codegen-ia32.cc View 2 chunks +12 lines, -1 line 0 comments
M src/ia32/lithium-ia32.h View 2 chunks +26 lines, -5 lines 0 comments
M src/ia32/lithium-ia32.cc View 1 chunk +13 lines, -2 lines 0 comments
M src/x64/lithium-codegen-x64.cc View 3 chunks +11 lines, -2 lines 0 comments
M src/x64/lithium-x64.h View 2 chunks +23 lines, -5 lines 0 comments
M src/x64/lithium-x64.cc View 1 chunk +11 lines, -3 lines 0 comments
M test/cctest/test-log-stack-tracer.cc View 1 chunk +3 lines, -0 lines 0 comments
A test/mjsunit/global-accessors.js View 1 chunk +52 lines, -0 lines 0 comments

Messages

Total messages: 4 (0 generated)
Søren Thygesen Gjesse
9 years, 8 months ago (2011-04-04 13:14:37 UTC) #1
fschneider
LGTM with comments. http://codereview.chromium.org/6693066/diff/1/src/arm/lithium-arm.cc File src/arm/lithium-arm.cc (right): http://codereview.chromium.org/6693066/diff/1/src/arm/lithium-arm.cc#newcode1758 src/arm/lithium-arm.cc:1758: return MarkAsCall(DefineFixed(result, r0), instr); No DefineFixed ...
9 years, 8 months ago (2011-04-04 13:47:50 UTC) #2
Søren Thygesen Gjesse
http://codereview.chromium.org/6693066/diff/1/src/arm/lithium-arm.cc File src/arm/lithium-arm.cc (right): http://codereview.chromium.org/6693066/diff/1/src/arm/lithium-arm.cc#newcode1758 src/arm/lithium-arm.cc:1758: return MarkAsCall(DefineFixed(result, r0), instr); On 2011/04/04 13:47:50, fschneider wrote: ...
9 years, 8 months ago (2011-04-04 14:16:34 UTC) #3
fschneider
9 years, 8 months ago (2011-04-04 14:20:31 UTC) #4
http://codereview.chromium.org/6693066/diff/1/src/x64/lithium-codegen-x64.cc
File src/x64/lithium-codegen-x64.cc (left):

http://codereview.chromium.org/6693066/diff/1/src/x64/lithium-codegen-x64.cc#...
src/x64/lithium-codegen-x64.cc:2747: CpuFeatures::Scope scope(SSE2);
On 2011/04/04 14:16:34, Søren Gjesse wrote:
> On 2011/04/04 13:47:50, fschneider wrote:
> > Accidental edit?
> 
> I don't think so, SSE2 is always available on x64, and this line is the only
> reference to it.

You're right - I overlooked that this is the x64 file.

Powered by Google App Engine