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

Issue 2183923003: [stubs,interpreter] Optimise SMI loading for 64-bit targets. (Closed)

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

Description

[stubs,interpreter] Optimise SMI loading for 64-bit targets. Adding new methods to the code stub assembler and interpreter assembler to combine loading and untagging SMIs, so that on 64-bit architectures we can avoid loading the full 64 bits and load the 32 interesting bits directly instead. Committed: https://crrev.com/28e3467a72755b05ff5f6c9996955f5eb10e3971 Cr-Commit-Position: refs/heads/master@{#38361}

Patch Set 1 #

Patch Set 2 : Optimizing SMI loads at code stub assembler level. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -72 lines) Patch
M src/builtins/builtins-string.cc View 1 1 chunk +2 lines, -5 lines 0 comments Download
M src/code-stub-assembler.h View 1 3 chunks +15 lines, -1 line 0 comments Download
M src/code-stub-assembler.cc View 1 13 chunks +92 lines, -19 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/arm64/instruction-codes-arm64.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/arm64/instruction-scheduler-arm64.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M src/compiler/arm64/instruction-selector-arm64.cc View 1 5 chunks +63 lines, -29 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 8 chunks +8 lines, -16 lines 0 comments Download
M src/interpreter/interpreter-assembler.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/interpreter/interpreter-assembler.cc View 1 3 chunks +22 lines, -2 lines 0 comments Download
M test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc View 1 1 chunk +83 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
georgia.kouveli
4 years, 4 months ago (2016-07-27 12:53:19 UTC) #2
Benedikt Meurer
Hey Georgia, Thanks for the CL, but I think this is a bit redundant w/ ...
4 years, 4 months ago (2016-07-28 16:40:48 UTC) #3
georgia.kouveli
Hi Benedikt, Yes, we hit the pattern in a couple of stubs and in a ...
4 years, 4 months ago (2016-07-28 16:53:12 UTC) #4
Benedikt Meurer
No, those go directly to the instruction selection. But in that case we might be ...
4 years, 4 months ago (2016-07-29 03:31:52 UTC) #5
georgia.kouveli
PTAL! I've modified the stubs and interpreter bytecodes where we hit this pattern so that ...
4 years, 4 months ago (2016-08-04 16:59:37 UTC) #7
Benedikt Meurer
Nice, thanks. LGTM. Enrico: Can you port the instruction selector magic to x64?
4 years, 4 months ago (2016-08-05 04:31:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2183923003/20001
4 years, 4 months ago (2016-08-05 09:11:36 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-05 09:33:15 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 09:34:20 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/28e3467a72755b05ff5f6c9996955f5eb10e3971
Cr-Commit-Position: refs/heads/master@{#38361}

Powered by Google App Engine
This is Rietveld 408576698