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

Issue 2223433002: [arm] Simplify run-time CPU selection. (Closed)

Created:
4 years, 4 months ago by jbramley
Modified:
4 years, 3 months ago
CC:
Michael Hablich, v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, 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

[arm] Simplify run-time CPU selection. This replaces the target-selection options (such as "--enable-vfp3") with a simpler, absolute "--arm-arch" option. This eliminates inferences and avoids surprising behaviour in impossible situations (such as "--enable-vfp3 --no-enable-armv7"). The available options are: --arm-arch=armv6 ARMv6 + VFPv2 --arm-arch=armv7 ARMv7 + VFPv3-D32 + NEON --arm-arch=armv7+sudiv ARMv7 + VFPv4-D32 + NEON + SUDIV --arm-arch=armv8 ARMv8 (+ all of the above) For now, the default setting is "armv8", which results in behaviour very similar to the existing defaults. BUG=v8:5077 Committed: https://crrev.com/76ea8f2f95def189e368b45a990e5f8d4fa8bb27 Cr-Commit-Position: refs/heads/master@{#39004}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Rebase only. #

Patch Set 3 : Address review comments. #

Patch Set 4 : cl format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -142 lines) Patch
M src/arm/assembler-arm.cc View 1 2 3 3 chunks +179 lines, -62 lines 0 comments Download
M src/arm/disasm-arm.cc View 1 chunk +9 lines, -11 lines 0 comments Download
M src/arm/simulator-arm.cc View 1 chunk +17 lines, -19 lines 0 comments Download
M src/base/build_config.h View 1 2 3 1 chunk +9 lines, -1 line 0 comments Download
M src/flag-definitions.h View 1 2 3 2 chunks +32 lines, -42 lines 0 comments Download
M src/globals.h View 1 2 3 2 chunks +12 lines, -7 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
jbramley
This is the first step towards v8:5077. For now, I've tried to avoid changing behaviour, ...
4 years, 4 months ago (2016-08-05 13:05:21 UTC) #3
jochen (gone - plz use gerrit)
lgtm
4 years, 4 months ago (2016-08-05 13:10:58 UTC) #4
Michael Achenbach
https://codereview.chromium.org/2223433002/diff/1/src/flag-definitions.h File src/flag-definitions.h (left): https://codereview.chromium.org/2223433002/diff/1/src/flag-definitions.h#oldcode561 src/flag-definitions.h:561: DEFINE_BOOL(enable_vfp3, ENABLE_VFP3_DEFAULT, If we pass this flag, will d8 ...
4 years, 4 months ago (2016-08-05 13:17:12 UTC) #5
jbramley
On 2016/08/05 13:17:12, Michael Achenbach (slow) wrote: > https://codereview.chromium.org/2223433002/diff/1/src/flag-definitions.h > File src/flag-definitions.h (left): > > ...
4 years, 4 months ago (2016-08-05 13:51:27 UTC) #6
Michael Achenbach
> > Maybe we should discuss the current cases and figure out if they are ...
4 years, 4 months ago (2016-08-12 10:15:43 UTC) #7
Michael Achenbach
lgtm with comments https://codereview.chromium.org/2223433002/diff/1/src/arm/assembler-arm.cc File src/arm/assembler-arm.cc (right): https://codereview.chromium.org/2223433002/diff/1/src/arm/assembler-arm.cc#newcode65 src/arm/assembler-arm.cc:65: fprintf(stderr, "Warning: unrecognised value for --arm-arch ...
4 years, 4 months ago (2016-08-12 10:16:37 UTC) #8
jbramley
On 2016/08/12 10:15:43, machenbach (OOO until Aug 28) wrote: > I think currently all our ...
4 years, 4 months ago (2016-08-19 13:41:26 UTC) #9
Michael Achenbach
Still lgtm. I guess this can land now? > https://codereview.chromium.org/2223433002/diff/1/src/flag-definitions.h#newcode128 > > src/flag-definitions.h:128: #if !defined(ARM_TEST_NO_FEATURE_PROBE) ...
4 years, 3 months ago (2016-08-29 11:48:57 UTC) #10
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/2223433002/60001
4 years, 3 months ago (2016-08-30 09:35:56 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-30 10:01:58 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 10:02:34 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/76ea8f2f95def189e368b45a990e5f8d4fa8bb27
Cr-Commit-Position: refs/heads/master@{#39004}

Powered by Google App Engine
This is Rietveld 408576698