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

Issue 14263018: ARM: Makefile/gyp update allowing better control of ARM specific options. (Closed)

Created:
7 years, 8 months ago by Rodolph Perfetta
Modified:
7 years, 8 months ago
Reviewers:
ulan, danno, Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

ARM: Makefile/gyp update allowing better control of ARM specific options. This patch defines new makefile command line paramaters to better control the ARM specific options. The new paramters are * armfpu = vfp, vfpv3-d16, vfpv3, neon. * armfloatabi = softfp, hard * armneon = on * armthumb = on, off * armtest = on One existing paratemer has been modified: * armv7 = true, false A number of parameters have been deprecated (but are still working): * hardfp = on, off * vfp2 = off * vfp3 = off the armtest paratmer when set to "on" will lock the options used during compile time at runtime. This allows for example to easily test the ARMv6 build on an ARMv7 platform without having to worry about features detected at runtime. When not specified the compiler default will be used meaning it is not necessary anymore to specify hardfp=on when natively building on an hardfp platform. The shell help now prints the target options and features detected. BUG=none TEST=none Committed: https://code.google.com/p/v8/source/detail?r=14288

Patch Set 1 #

Total comments: 9

Patch Set 2 : Addressed Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -140 lines) Patch
M Makefile View 2 chunks +68 lines, -17 lines 0 comments Download
M build/common.gypi View 1 1 chunk +82 lines, -32 lines 0 comments Download
M src/arm/assembler-arm.h View 1 chunk +6 lines, -6 lines 0 comments Download
M src/arm/assembler-arm.cc View 1 5 chunks +97 lines, -21 lines 0 comments Download
M src/arm/constants-arm.h View 1 chunk +9 lines, -7 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/flag-definitions.h View 1 3 chunks +19 lines, -3 lines 0 comments Download
M src/flags.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download
M src/platform-linux.cc View 1 chunk +0 lines, -19 lines 0 comments Download
M tools/gyp/v8.gyp View 1 1 chunk +0 lines, -34 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Rodolph Perfetta
7 years, 8 months ago (2013-04-15 18:58:51 UTC) #1
ulan
I like this change! Adding Jakob in case I missed something in gyp files. https://codereview.chromium.org/14263018/diff/1/src/arm/assembler-arm.cc ...
7 years, 8 months ago (2013-04-16 10:12:18 UTC) #2
Rodolph Perfetta
Let me know what you think about debug print and snapshots (see my reply to ...
7 years, 8 months ago (2013-04-16 10:49:35 UTC) #3
Jakob Kummerow
Build system stuff LGTM, with a suggestion. https://codereview.chromium.org/14263018/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/14263018/diff/1/build/common.gypi#newcode155 build/common.gypi:155: 'target_conditions': [ ...
7 years, 8 months ago (2013-04-16 11:36:07 UTC) #4
Rodolph Perfetta
Ulan, let me know how you feel about printing features when generating snapshots. https://codereview.chromium.org/14263018/diff/1/build/common.gypi File ...
7 years, 8 months ago (2013-04-16 14:15:55 UTC) #5
ulan
7 years, 8 months ago (2013-04-16 14:20:50 UTC) #6
LGTM

https://codereview.chromium.org/14263018/diff/1/src/arm/assembler-arm.cc
File src/arm/assembler-arm.cc (right):

https://codereview.chromium.org/14263018/diff/1/src/arm/assembler-arm.cc#newc...
src/arm/assembler-arm.cc:115: PrintFeatures();
On 2013/04/16 10:49:35, Rodolph Perfetta wrote:
> On 2013/04/16 10:12:18, ulan wrote:
> > Debug print?
> 
> I find it useful to see these info printed when I do a release build too. I am
> fine with printing it only in debug mode though, let me know what you prefer.
> 

I see. I don't mind printing it.

Powered by Google App Engine
This is Rietveld 408576698