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

Issue 11574027: Use direct jump and call instruction for X64 when the deoptimization entries are in the code range (Closed)

Created:
8 years ago by haitao.feng
Modified:
7 years, 9 months ago
CC:
v8-dev
Visibility:
Public.

Description

Use direct jump and call instruction for X64 when the deoptimization entries are in the code range. Committed: http://code.google.com/p/v8/source/detail?r=13903

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 8

Patch Set 7 : #

Patch Set 8 : #

Total comments: 6

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -38 lines) Patch
M src/arm/assembler-arm-inl.h View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M src/assembler.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 2 3 4 5 6 7 8 4 chunks +16 lines, -7 lines 0 comments Download
M src/ia32/assembler-ia32-inl.h View 1 2 3 4 5 6 7 8 6 chunks +19 lines, -6 lines 0 comments Download
M src/mips/assembler-mips-inl.h View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -1 line 0 comments Download
M src/spaces.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M src/x64/assembler-x64.h View 1 2 3 4 5 6 5 chunks +5 lines, -0 lines 0 comments Download
M src/x64/assembler-x64.cc View 1 2 3 4 5 6 4 chunks +30 lines, -0 lines 0 comments Download
M src/x64/assembler-x64-inl.h View 1 2 3 4 5 6 7 8 8 chunks +38 lines, -20 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
haitao.feng
This patch set is dependent on https://codereview.chromium.org/11566011/.
8 years ago (2012-12-14 02:24:06 UTC) #1
Sven Panne
What problem is this CL trying to solve? It's not really obvious. Furthermore, I stopped ...
8 years ago (2012-12-14 08:20:11 UTC) #2
danno
The more I think about this, the more I think this approach is not quite ...
8 years ago (2012-12-19 17:07:33 UTC) #3
haitao.feng
danno, thanks for your review. For existing RUNTIME_ENTRY that currently need to be 64-bits, do ...
8 years ago (2012-12-20 06:46:07 UTC) #4
danno
Actually, after looking at INTERNAL_REFERENCES more closely, they seem to be exactly what you need. ...
8 years ago (2012-12-20 10:39:02 UTC) #5
haitao.feng
Thanks for your recommendation. It seems that currently INTERNAL_REFERENCE is used for MIPS only, and ...
8 years ago (2012-12-21 03:16:25 UTC) #6
danno
Ah, you're right, although INTERNAL_REFERENCE is implemented in ia32, they are intended only for absolute ...
7 years, 12 months ago (2012-12-27 16:26:08 UTC) #7
haitao.feng
danno, thanks for your comments. I have uploaded a CL to use EXTERNAL_REFERENCE for the ...
7 years, 12 months ago (2012-12-28 07:10:03 UTC) #8
haitao.feng
I have updated this CL to use RUNTIME_ENTRY relocation entry which is recommended by danno. ...
7 years, 11 months ago (2013-01-10 07:11:10 UTC) #9
haitao.feng
Updated this CL to the latest codes. Now deoptimization entries for X64 are in the ...
7 years, 10 months ago (2013-01-30 04:44:09 UTC) #10
danno
Thanks for the patch. Before I look in much more detail, please take a look ...
7 years, 10 months ago (2013-02-06 15:00:38 UTC) #11
haitao.feng
Thanks for your review. I added two functions for each platform, "NeedsRewriteRuntimeEntry" and "target_runtime_entry" to ...
7 years, 10 months ago (2013-02-07 05:08:05 UTC) #12
haitao.feng
Updated this CL to use "target_runtime_entry" only to avoid platform #ifdef. The correctness depends on ...
7 years, 10 months ago (2013-02-08 03:54:52 UTC) #13
haitao.feng
Rebased with r13740. This is a self-contained patch and does not depend on the other ...
7 years, 9 months ago (2013-02-27 04:41:14 UTC) #14
danno
Given recent developments, I am not sure this CL is a good idea at all. ...
7 years, 9 months ago (2013-02-28 10:52:22 UTC) #15
haitao.feng
Thanks for the information. This CL is still worth pursuing. I rebased this CL with ...
7 years, 9 months ago (2013-02-28 11:44:54 UTC) #16
danno
Thanks for the patch. Your general approach is fine, but there are few key changes, ...
7 years, 9 months ago (2013-03-07 14:57:22 UTC) #17
haitao.feng
Thanks for your review and recommendation. The codes are updated according to your recommendation. Please ...
7 years, 9 months ago (2013-03-08 05:30:05 UTC) #18
danno
Thanks for the new patch, it's getting closer. Please see my comments below. https://codereview.chromium.org/11574027/diff/72001/src/assembler.h File ...
7 years, 9 months ago (2013-03-08 09:16:30 UTC) #19
haitao.feng
Thanks for the review and recommendation. Please take another look. https://codereview.chromium.org/11574027/diff/72001/src/assembler.h File src/assembler.h (right): https://codereview.chromium.org/11574027/diff/72001/src/assembler.h#newcode387 ...
7 years, 9 months ago (2013-03-08 12:25:59 UTC) #20
danno
lgtm, I'll land this for you. Thanks for the patch.
7 years, 9 months ago (2013-03-11 14:05:29 UTC) #21
danno
Committed patchset #9 manually as r13901 (presubmit successful).
7 years, 9 months ago (2013-03-11 14:05:59 UTC) #22
danno
7 years, 9 months ago (2013-03-11 14:11:13 UTC) #23
Message was sent while issue was closed.
Committed patchset #9 manually as r13903 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698