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

Issue 1085023004: Fix arm/LTO build by moving neon asm files to intrinsics target. (Closed)

Created:
5 years, 8 months ago by pcc1
Modified:
5 years, 8 months ago
Reviewers:
wwcv, Johann, Nico, Tom Finegan
CC:
wwcv, jzern, fgalligan1, Tom Finegan
Base URL:
https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix arm/LTO build by moving neon asm files to intrinsics target. We currently build certain asm files with support for neon instructions by passing -Wa,-mfpu=neon when building the libvpx target. This won't work under LTO because of unused argument errors when building the non-asm files. We cannot use -mfpu=neon here because neon is an optional feature of libvpx target on Android if use_neon==0, and we presumably don't want the rest of the files in the target to use neon instructions. It looks like the right thing to do here is to move the asm files to the libvpx_intrinsics_neon target, which is already set up to build everything for neon with -mfpu=neon. BUG=407544 R=johannkoenig@google.com, thakis@chromium.org, tomfinegan@chromium.org Committed: https://chromium.googlesource.com/chromium/deps/libvpx/+/7f648118deef202a106d6ac8625bbe3b84369229

Patch Set 1 #

Total comments: 6

Patch Set 2 : Move non-neon asm files out of intrinsics target #

Total comments: 2

Patch Set 3 : Fix duplicate rule warning by avoiding copy #

Total comments: 1

Patch Set 4 : Add documentation for gypi #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -72 lines) Patch
A ads2gas.gypi View 1 2 3 1 chunk +54 lines, -0 lines 0 comments Download
M generate_gypi.sh View 1 4 chunks +8 lines, -5 lines 0 comments Download
M libvpx.gyp View 1 2 3 4 2 chunks +1 line, -49 lines 0 comments Download
M libvpx_srcs_arm_neon_cpu_detect.gypi View 1 2 3 4 1 chunk +0 lines, -18 lines 0 comments Download
M libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi View 1 2 3 4 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
pcc1
5 years, 8 months ago (2015-04-15 04:46:04 UTC) #1
Johann
https://codereview.chromium.org/1085023004/diff/1/generate_gypi.sh File generate_gypi.sh (right): https://codereview.chromium.org/1085023004/diff/1/generate_gypi.sh#newcode159 generate_gypi.sh:159: local neon_sources=$(echo "$file_list" | grep '_neon\.c$\|\.asm$') while *most* of ...
5 years, 8 months ago (2015-04-15 15:38:45 UTC) #4
pcc1
https://codereview.chromium.org/1085023004/diff/1/generate_gypi.sh File generate_gypi.sh (right): https://codereview.chromium.org/1085023004/diff/1/generate_gypi.sh#newcode159 generate_gypi.sh:159: local neon_sources=$(echo "$file_list" | grep '_neon\.c$\|\.asm$') On 2015/04/15 15:38:45, ...
5 years, 8 months ago (2015-04-15 18:50:34 UTC) #5
Johann
LGTM Yeah, would be nice to fix the BUILD.gn too, but I'm not sure if ...
5 years, 8 months ago (2015-04-15 19:09:06 UTC) #6
pcc1
Nico, do the gyp changes look good to you? https://codereview.chromium.org/1085023004/diff/20001/ads2gas.gypi File ads2gas.gypi (right): https://codereview.chromium.org/1085023004/diff/20001/ads2gas.gypi#newcode1 ads2gas.gypi:1: ...
5 years, 8 months ago (2015-04-16 22:00:09 UTC) #7
Nico
rs-lgtm ; Johann knows this code much better than I do :-) https://codereview.chromium.org/1085023004/diff/40001/ads2gas.gypi File ads2gas.gypi ...
5 years, 8 months ago (2015-04-24 21:43:23 UTC) #8
pcc1
On 2015/04/15 19:09:06, Johann wrote: > LGTM > > Yeah, would be nice to fix ...
5 years, 8 months ago (2015-04-27 21:14:23 UTC) #9
Johann
On 2015/04/27 21:14:23, pcc1 wrote: > Johann: please land, still can't do it myself :/ ...
5 years, 8 months ago (2015-04-27 21:20:12 UTC) #10
Johann
5 years, 8 months ago (2015-04-27 21:20:50 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
7f648118deef202a106d6ac8625bbe3b84369229 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698