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

Issue 258993002: Simplified CPU/CpuFeatures a bit. (Closed)

Created:
6 years, 7 months ago by Sven Panne
Modified:
6 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Simplified CPU/CpuFeatures a bit. This is a necessary intermediate step to disentangle the startup. In the long run CPU and CpuFeatures should probably be merged, and Serializer::enabled usage should be radically reduced, but we're not there yet. BUG=359977 LOG=y R=bmeurer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21001

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -126 lines) Patch
M src/arm/assembler-arm.h View 2 chunks +3 lines, -9 lines 0 comments Download
M src/arm/assembler-arm.cc View 3 chunks +0 lines, -19 lines 2 comments Download
M src/arm/cpu-arm.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M src/arm64/cpu-arm64.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/arm64/cpu-arm64.cc View 2 chunks +1 line, -11 lines 0 comments Download
M src/cpu.h View 1 chunk +0 lines, -5 lines 0 comments Download
M src/flags.h View 2 chunks +8 lines, -1 line 0 comments Download
M src/flags.cc View 2 chunks +7 lines, -2 lines 0 comments Download
M src/ia32/assembler-ia32.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/ia32/assembler-ia32.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/ia32/cpu-ia32.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M src/isolate.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/mips/assembler-mips.h View 2 chunks +3 lines, -6 lines 0 comments Download
M src/mips/assembler-mips.cc View 2 chunks +0 lines, -17 lines 0 comments Download
M src/mips/cpu-mips.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M src/mksnapshot.cc View 1 chunk +1 line, -7 lines 0 comments Download
M src/v8.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/assembler-x64.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/x64/assembler-x64.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/x64/cpu-x64.cc View 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Sven Panne
6 years, 7 months ago (2014-04-28 07:57:06 UTC) #1
Benedikt Meurer
lgtm
6 years, 7 months ago (2014-04-28 08:09:19 UTC) #2
Sven Panne
Committed patchset #1 manually as r21001 (presubmit successful).
6 years, 7 months ago (2014-04-28 08:18:53 UTC) #3
m.m.capewell
On 2014/04/28 08:18:53, Sven Panne wrote: > Committed patchset #1 manually as r21001 (presubmit successful). ...
6 years, 7 months ago (2014-04-28 16:27:50 UTC) #4
Sven Panne
On 2014/04/28 16:27:50, m.m.capewell wrote: > On 2014/04/28 08:18:53, Sven Panne wrote: > > Committed ...
6 years, 7 months ago (2014-04-29 06:26:54 UTC) #5
m.m.capewell
On 2014/04/29 06:26:54, Sven Panne wrote: > On 2014/04/28 16:27:50, m.m.capewell wrote: > > On ...
6 years, 7 months ago (2014-04-29 09:24:17 UTC) #6
m.m.capewell
On 2014/04/29 09:24:17, m.m.capewell wrote: > On 2014/04/29 06:26:54, Sven Panne wrote: > > On ...
6 years, 7 months ago (2014-04-29 09:42:40 UTC) #7
ulan
On 2014/04/29 09:42:40, m.m.capewell wrote: > On 2014/04/29 09:24:17, m.m.capewell wrote: > > On 2014/04/29 ...
6 years, 7 months ago (2014-04-29 09:45:34 UTC) #8
vincent.belliard
https://codereview.chromium.org/258993002/diff/1/src/arm/assembler-arm.cc File src/arm/assembler-arm.cc (left): https://codereview.chromium.org/258993002/diff/1/src/arm/assembler-arm.cc#oldcode137 src/arm/assembler-arm.cc:137: PrintFeatures(); Why did you removed this display? It was ...
6 years, 7 months ago (2014-04-29 15:25:17 UTC) #9
Sven Panne
6 years, 7 months ago (2014-04-30 06:11:15 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/258993002/diff/1/src/arm/assembler-arm.cc
File src/arm/assembler-arm.cc (left):

https://codereview.chromium.org/258993002/diff/1/src/arm/assembler-arm.cc#old...
src/arm/assembler-arm.cc:137: PrintFeatures();
On 2014/04/29 15:25:17, vincent.belliard.arm wrote:
> Why did you removed this display?
> It was very useful to check during the build that the snapshot was generated
> with the good options.

It is not done for other platforms, it is printed with --help, anyway (twice
before), and I don't think the current approach of #ifdef'ing code just for ARM
(where the other PrintFeatures is residing) directly below src/ is a good idea,
this has to go away, too. ARM-specififc stuff should be below src/arm, the
current approach is a hack.

Powered by Google App Engine
This is Rietveld 408576698