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

Issue 10818026: Relax requirement from VFP3 to VFP2 where possible. (Closed)

Created:
8 years, 5 months ago by Yang
Modified:
8 years, 4 months ago
CC:
v8-dev, lmcloughlin
Visibility:
Public.

Description

Relax requirement from VFP3 to VFP2 where possible. BUG= TEST= Committed: https://code.google.com/p/v8/source/detail?r=12194

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 11

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -168 lines) Patch
M build/common.gypi View 2 chunks +9 lines, -3 lines 1 comment Download
M src/arm/assembler-arm.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M src/arm/assembler-arm.cc View 1 2 3 39 chunks +60 lines, -50 lines 0 comments Download
M src/arm/builtins-arm.cc View 1 1 chunk +1 line, -4 lines 0 comments Download
M src/arm/code-stubs-arm.h View 1 2 3 8 chunks +8 lines, -8 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 1 2 4 35 chunks +55 lines, -54 lines 0 comments Download
M src/arm/codegen-arm.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 11 chunks +14 lines, -10 lines 0 comments Download
M src/arm/stub-cache-arm.cc View 1 2 12 chunks +22 lines, -22 lines 0 comments Download
M src/flag-definitions.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/platform-linux.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/v8globals.h View 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-assembler-arm.cc View 1 2 3 4 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Yang
This change is mostly mechanical. I'm mostly concerned with the change I did to Vmov ...
8 years, 5 months ago (2012-07-24 13:52:36 UTC) #1
Sven Panne
http://codereview.chromium.org/10818026/diff/1/src/arm/assembler-arm.cc File src/arm/assembler-arm.cc (right): http://codereview.chromium.org/10818026/diff/1/src/arm/assembler-arm.cc#newcode50 src/arm/assembler-arm.cc:50: unsigned CpuFeatures::supported_ = 0; We should either use uint64_t ...
8 years, 5 months ago (2012-07-25 07:49:06 UTC) #2
Yang
On 2012/07/25 07:49:06, Sven Panne wrote: > http://codereview.chromium.org/10818026/diff/1/src/arm/assembler-arm.cc > File src/arm/assembler-arm.cc (right): > > http://codereview.chromium.org/10818026/diff/1/src/arm/assembler-arm.cc#newcode50 ...
8 years, 5 months ago (2012-07-25 09:48:49 UTC) #3
Yang
On 2012/07/25 09:48:49, Yang wrote: > On 2012/07/25 07:49:06, Sven Panne wrote: > > http://codereview.chromium.org/10818026/diff/1/src/arm/assembler-arm.cc ...
8 years, 5 months ago (2012-07-25 09:49:24 UTC) #4
Rodolph Perfetta
http://codereview.chromium.org/10818026/diff/3002/src/arm/assembler-arm.cc File src/arm/assembler-arm.cc (right): http://codereview.chromium.org/10818026/diff/3002/src/arm/assembler-arm.cc#newcode132 src/arm/assembler-arm.cc:132: ASSERT(!IsSupported(VFP3) || (IsSupported(VFP2) && IsSupported(ARMv7))); It is possible to ...
8 years, 5 months ago (2012-07-25 10:59:54 UTC) #5
Yang
Uploaded a new patch set based on the comments. Some of those comments confuse me, ...
8 years, 5 months ago (2012-07-25 12:09:32 UTC) #6
Rodolph Perfetta
> http://codereview.chromium.org/10818026/diff/3002/src/arm/assembler-arm.cc > File src/arm/assembler-arm.cc (right): > > http://codereview.chromium.org/10818026/diff/3002/src/arm/assembler-arm.cc#newcode132 > src/arm/assembler-arm.cc:132: ASSERT(!IsSupported(VFP3) || (IsSupported(VFP2) && ...
8 years, 5 months ago (2012-07-25 12:44:09 UTC) #7
Rodolph Perfetta
LGTM.
8 years, 5 months ago (2012-07-25 12:44:39 UTC) #8
Adam Malcontenti-Wilson
8 years, 4 months ago (2012-08-13 13:57:52 UTC) #9
Just was looking over the common.gypi file, and I thought that
CAN_USE_VFP_INSTRUCTIONS is no longer used in favour of the VFP2 and VFP3
variants. 
Changing to CAN_USE_VFP2_INSTRUCTIONS would save having to do the /proc/cpuinfo
check on hard float systems where I thought the assumption was that it must
support at least VFP2.

http://codereview.chromium.org/10818026/diff/15001/build/common.gypi
File build/common.gypi (right):

http://codereview.chromium.org/10818026/diff/15001/build/common.gypi#newcode149
build/common.gypi:149: 'CAN_USE_VFP_INSTRUCTIONS',
Should this be CAN_USE_VFP2_INSTRUCTIONS instead?

Powered by Google App Engine
This is Rietveld 408576698