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

Issue 797233002: Make FlushICache NOP for Nvidia Denver CPU's. (Closed)

Created:
6 years ago by arajp
Modified:
6 years ago
CC:
amalp_nvidia.com, Alka, Srikumar, v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Make FlushICache NOP for Nvidia Denver CPU's. Denver supports a coherent cache mechanism. There is no need to clean the D cache and invalidate I cache. MTS has to check the translation anytime there is an I cache invalidate and this time can be saved by making FlushICache a NOP. The patch improves Octane by roughly 3-4% on Denver. Committed: https://crrev.com/f4fb7025691ffa17fd36390e116461c0c6a886f1 Cr-Commit-Position: refs/heads/master@{#25898}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Make FlushICache NOP for Nvidia Denver CPU's. #

Total comments: 2

Patch Set 3 : Update commit message #

Patch Set 4 : Update commit message #

Patch Set 5 : Updated PrintFeatures function #

Patch Set 6 : Formatting correction #

Total comments: 5

Patch Set 7 : Addressed review comments and corrected few formatting errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -7 lines) Patch
M src/arm/assembler-arm.cc View 1 2 3 4 5 6 2 chunks +8 lines, -2 lines 0 comments Download
M src/arm/cpu-arm.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/arm64/assembler-arm64.cc View 1 2 3 4 5 6 1 chunk +15 lines, -1 line 0 comments Download
M src/arm64/cpu-arm64.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/base/cpu.h View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M src/base/cpu.cc View 1 2 3 4 5 6 5 chunks +25 lines, -4 lines 0 comments Download
M src/globals.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (3 generated)
arajp
On 2014/12/15 04:59:39, arajp wrote: > mailto:arajp@nvidia.com changed reviewers: > + mailto:jfb@chromium.org, mailto:rmcilroy@chromium.org JFB, This ...
6 years ago (2014-12-15 05:00:30 UTC) #2
Benedikt Meurer
https://codereview.chromium.org/797233002/diff/1/src/arm/assembler-arm.cc File src/arm/assembler-arm.cc (right): https://codereview.chromium.org/797233002/diff/1/src/arm/assembler-arm.cc#newcode133 src/arm/assembler-arm.cc:133: supported_ |= 1u << COHERENT_CACHE; Nit: Add { and ...
6 years ago (2014-12-15 05:33:37 UTC) #4
JF
Is it guaranteed that all Denver CPUs will have coherent caches? I'd like to make ...
6 years ago (2014-12-15 16:23:24 UTC) #5
JF
Could you also update the description of the patch to explain why this is a ...
6 years ago (2014-12-15 16:27:21 UTC) #6
rmcilroy
https://codereview.chromium.org/797233002/diff/1/src/arm64/assembler-arm64.cc File src/arm64/assembler-arm64.cc (right): https://codereview.chromium.org/797233002/diff/1/src/arm64/assembler-arm64.cc#newcode48 src/arm64/assembler-arm64.cc:48: supported_ = 0; On 2014/12/15 16:23:23, JF wrote: > ...
6 years ago (2014-12-15 16:32:02 UTC) #7
arajp
On 2014/12/15 16:23:24, JF wrote: > Is it guaranteed that all Denver CPUs will have ...
6 years ago (2014-12-18 12:58:36 UTC) #8
arajp
Addressed all your comments. PTAL https://codereview.chromium.org/797233002/diff/1/src/arm/assembler-arm.cc File src/arm/assembler-arm.cc (right): https://codereview.chromium.org/797233002/diff/1/src/arm/assembler-arm.cc#newcode133 src/arm/assembler-arm.cc:133: supported_ |= 1u << ...
6 years ago (2014-12-18 13:25:05 UTC) #9
rmcilroy
https://codereview.chromium.org/797233002/diff/20001/src/arm64/assembler-arm64.cc File src/arm64/assembler-arm64.cc (right): https://codereview.chromium.org/797233002/diff/20001/src/arm64/assembler-arm64.cc#newcode63 src/arm64/assembler-arm64.cc:63: void CpuFeatures::PrintFeatures() { } Please update PrintFeatures to output ...
6 years ago (2014-12-18 14:05:07 UTC) #10
rmcilroy
On 2014/12/18 14:05:07, rmcilroy wrote: > https://codereview.chromium.org/797233002/diff/20001/src/arm64/assembler-arm64.cc > File src/arm64/assembler-arm64.cc (right): > > https://codereview.chromium.org/797233002/diff/20001/src/arm64/assembler-arm64.cc#newcode63 > ...
6 years ago (2014-12-18 14:05:40 UTC) #11
JF
You're still missing some of the comments, and the update on the CL description.
6 years ago (2014-12-18 16:28:10 UTC) #12
arajp
Addressed the new comment from rmcilroy. PTAL I used git commit --amend to update the ...
6 years ago (2014-12-19 06:12:56 UTC) #13
arajp
PTAL
6 years ago (2014-12-19 06:23:19 UTC) #14
Benedikt Meurer
Getting close, final comments. https://codereview.chromium.org/797233002/diff/100001/src/base/cpu.cc File src/base/cpu.cc (right): https://codereview.chromium.org/797233002/diff/100001/src/base/cpu.cc#newcode303 src/base/cpu.cc:303: variant_(0), The 0 default is ...
6 years ago (2014-12-19 06:32:10 UTC) #15
JF
> I used git commit --amend to update the commit message and that did not ...
6 years ago (2014-12-19 06:51:26 UTC) #16
Benedikt Meurer
> > I just now noticed that I left out one comment of yours. Did ...
6 years ago (2014-12-19 08:06:07 UTC) #17
arajp
PTAL https://codereview.chromium.org/797233002/diff/100001/src/base/cpu.cc File src/base/cpu.cc (right): https://codereview.chromium.org/797233002/diff/100001/src/base/cpu.cc#newcode303 src/base/cpu.cc:303: variant_(0), On 2014/12/19 06:32:09, Benedikt Meurer wrote: > ...
6 years ago (2014-12-19 10:45:32 UTC) #18
Benedikt Meurer
LGTM, thanks.
6 years ago (2014-12-19 10:48:52 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/797233002/120001
6 years ago (2014-12-19 10:49:27 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (id:120001)
6 years ago (2014-12-19 11:16:32 UTC) #22
commit-bot: I haz the power
6 years ago (2014-12-19 11:16:53 UTC) #23
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/f4fb7025691ffa17fd36390e116461c0c6a886f1
Cr-Commit-Position: refs/heads/master@{#25898}

Powered by Google App Engine
This is Rietveld 408576698