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

Issue 853703002: [x86] Avoid memory form of PUSH/CALL for ATOM. (Closed)

Created:
5 years, 11 months ago by Weiliang
Modified:
5 years, 11 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[x86] Avoid memory form of PUSH/CALL for ATOM. Committed: https://crrev.com/c63e994166eb7c24d435a3c85eb2af1ebc73cf7f Cr-Commit-Position: refs/heads/master@{#26163}

Patch Set 1 #

Patch Set 2 : avoid memory form of call and introduce atom flag #

Patch Set 3 : make Atom detection completely orthogonal to CPU feature detection #

Patch Set 4 : remove the CALL change to ia32 #

Total comments: 4

Patch Set 5 : use --mcpu #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -10 lines) Patch
M src/base/cpu.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M src/base/cpu.cc View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 1 2 3 4 5 1 chunk +5 lines, -2 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 1 2 3 4 5 1 chunk +5 lines, -2 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/globals.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 2 3 4 1 chunk +9 lines, -3 lines 0 comments Download
M src/x64/assembler-x64.cc View 1 2 3 4 1 chunk +7 lines, -2 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (4 generated)
Benedikt Meurer
How does that affect performance on non-Atom processors?
5 years, 11 months ago (2015-01-15 06:01:38 UTC) #2
Jakob Kummerow
DBC: A patch like this absolutely needs a comment of the form: // Force pushed ...
5 years, 11 months ago (2015-01-15 09:43:41 UTC) #4
Weiliang
Hi all, Thanks a lot for review. As we discussed, I put the atom-specific tuning ...
5 years, 11 months ago (2015-01-16 07:03:15 UTC) #5
Benedikt Meurer
I don't really like the use of fixed ebx, might cause trouble later with native ...
5 years, 11 months ago (2015-01-16 11:14:58 UTC) #6
Weiliang
On 2015/01/16 11:14:58, Benedikt Meurer wrote: > I don't really like the use of fixed ...
5 years, 11 months ago (2015-01-19 02:24:48 UTC) #7
Benedikt Meurer
+svenpanne I think we should keep the CpuFeatures::ATOM bit for now; It's not 100% clean, ...
5 years, 11 months ago (2015-01-19 05:39:25 UTC) #9
Weiliang
https://codereview.chromium.org/853703002/diff/60001/src/x64/assembler-x64.cc File src/x64/assembler-x64.cc (right): https://codereview.chromium.org/853703002/diff/60001/src/x64/assembler-x64.cc#newcode63 src/x64/assembler-x64.cc:63: if (cpu.is_atom()) FLAG_intel_atom = true; On 2015/01/19 05:39:25, Benedikt ...
5 years, 11 months ago (2015-01-19 05:51:02 UTC) #10
Benedikt Meurer
https://codereview.chromium.org/853703002/diff/60001/src/x64/assembler-x64.cc File src/x64/assembler-x64.cc (right): https://codereview.chromium.org/853703002/diff/60001/src/x64/assembler-x64.cc#newcode63 src/x64/assembler-x64.cc:63: if (cpu.is_atom()) FLAG_intel_atom = true; Yes, but you cannot ...
5 years, 11 months ago (2015-01-19 05:57:23 UTC) #11
Sven Panne
https://codereview.chromium.org/853703002/diff/60001/src/x64/assembler-x64.cc File src/x64/assembler-x64.cc (right): https://codereview.chromium.org/853703002/diff/60001/src/x64/assembler-x64.cc#newcode63 src/x64/assembler-x64.cc:63: if (cpu.is_atom()) FLAG_intel_atom = true; On 2015/01/19 05:57:22, Benedikt ...
5 years, 11 months ago (2015-01-19 07:42:14 UTC) #12
danno
I also prefer specifying core with a selector rather than individual flags, since they are ...
5 years, 11 months ago (2015-01-19 07:54:22 UTC) #13
Weiliang
On 2015/01/19 07:54:22, danno wrote: > I also prefer specifying core with a selector rather ...
5 years, 11 months ago (2015-01-20 05:12:44 UTC) #14
Sven Panne
LGTM, but I'd like to hear Benedikt's opinion about the last patch set, too.
5 years, 11 months ago (2015-01-20 07:44:52 UTC) #15
Benedikt Meurer
LGTM
5 years, 11 months ago (2015-01-20 13:57:05 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/853703002/100001
5 years, 11 months ago (2015-01-20 13:57:48 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 11 months ago (2015-01-20 14:59:53 UTC) #19
commit-bot: I haz the power
5 years, 11 months ago (2015-01-20 15:00:07 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c63e994166eb7c24d435a3c85eb2af1ebc73cf7f
Cr-Commit-Position: refs/heads/master@{#26163}

Powered by Google App Engine
This is Rietveld 408576698