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

Issue 7890001: MIPS: pre-crankshaft updates to code-stubs and stub-cache (3/3) (Closed)

Created:
9 years, 3 months ago by Paul Lind
Modified:
9 years, 3 months ago
Reviewers:
Erik Corry, danno
CC:
v8-dev
Visibility:
Public.

Description

MIPS: pre-crankshaft updates to code-stubs and stub-cache (3/3) Highlights: - code-stubs-mips.cc -- use EmitFPUTruncate in place of inline code in several places. -- use BranchF macro rather than lower-level FP cmp and branch for readability. -- Port of Sven's r8859 (Implement type recording for ToBoolean) and r8886 (Simplify and optimize ToBoolean handling.) -- Fix bug in TranscendentalCacheStub::Generate where some regs were not saved across CFunction call. -- use updated xxxCFunction macros. -- update InstanceOfStub to support crankshaft DoDeferredLInstanceOfKnownGlobal -- Provide code-patching and I-cache flushing support for generated code, used for InstanceOfStub under crankshaft (not submitted here). This requires adding new ExternalReference to src/assember.cc,h - stub-cache-mips.cc -- port Danno's r8901 (Create a common base class for Fixed-, FixedDouble- and ExternalArrays) to mips crankshaft branch. BUG= TEST= Committed: http://code.google.com/p/v8/source/detail?r=9308

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added code-patching, cache-flushing related to InstanceofStub and other review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+301 lines, -225 lines) Patch
M src/assembler.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/assembler.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 25 chunks +212 lines, -199 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 chunks +45 lines, -0 lines 0 comments Download
M src/mips/stub-cache-mips.cc View 13 chunks +30 lines, -26 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Paul Lind
9 years, 3 months ago (2011-09-13 07:25:17 UTC) #1
danno
adding erik
9 years, 3 months ago (2011-09-14 09:14:35 UTC) #2
Erik Corry
LGTM http://codereview.chromium.org/7890001/diff/1/src/mips/code-stubs-mips.cc File src/mips/code-stubs-mips.cc (right): http://codereview.chromium.org/7890001/diff/1/src/mips/code-stubs-mips.cc#newcode1244 src/mips/code-stubs-mips.cc:1244: __ PrepareCallCFunction(0, 2, t4); // Two doubles count ...
9 years, 3 months ago (2011-09-14 13:48:56 UTC) #3
Paul Lind
Updated per review comments. Thanks. http://codereview.chromium.org/7890001/diff/1/src/mips/code-stubs-mips.cc File src/mips/code-stubs-mips.cc (right): http://codereview.chromium.org/7890001/diff/1/src/mips/code-stubs-mips.cc#newcode1244 src/mips/code-stubs-mips.cc:1244: __ PrepareCallCFunction(0, 2, t4); ...
9 years, 3 months ago (2011-09-15 05:49:25 UTC) #4
danno
9 years, 3 months ago (2011-09-16 09:23:38 UTC) #5
LGTM, I'll land this now.

Powered by Google App Engine
This is Rietveld 408576698