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

Side by Side Diff: skia/skia_library_opts.gyp

Issue 225853003: Force more inlining in Skia ARM NEON optimizations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 # This gyp file contains the platform-specific optimizations for Skia 6 # This gyp file contains the platform-specific optimizations for Skia
7 { 7 {
8 'targets': [ 8 'targets': [
9 # Due to an unfortunate intersection of lameness between gcc and gyp, 9 # Due to an unfortunate intersection of lameness between gcc and gyp,
10 # we have to build the *_SSE2.cpp files in a separate target. The 10 # we have to build the *_SSE2.cpp files in a separate target. The
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 'type': 'static_library', 238 'type': 'static_library',
239 'includes': [ 239 'includes': [
240 'skia_common.gypi', 240 'skia_common.gypi',
241 ], 241 ],
242 'include_dirs': [ 242 'include_dirs': [
243 '../third_party/skia/include/core', 243 '../third_party/skia/include/core',
244 '../third_party/skia/include/effects', 244 '../third_party/skia/include/effects',
245 '../third_party/skia/src/core', 245 '../third_party/skia/src/core',
246 '../third_party/skia/src/opts', 246 '../third_party/skia/src/opts',
247 ], 247 ],
248 # The special cases are performance critical and suffer from lack
mtklein 2014/05/07 14:49:42 Is there any way we can do this with SK_ALWAYS_INL
249 # of inlining. Keep below in sync with -finline-limit=XX usage.
248 'cflags!': [ 250 'cflags!': [
251 '-Os',
252 '-finline-limit=64',
249 '-fno-omit-frame-pointer', 253 '-fno-omit-frame-pointer',
250 '-mfpu=vfp', # remove them all, just in case. 254 '-mfpu=vfp', # remove them all, just in case.
251 '-mfpu=vfpv3', 255 '-mfpu=vfpv3',
252 '-mfpu=vfpv3-d16', 256 '-mfpu=vfpv3-d16',
253 ], 257 ],
254 'cflags': [ 258 'cflags': [
259 '-O2',
255 '-mfpu=neon', 260 '-mfpu=neon',
256 '-fomit-frame-pointer', 261 '-fomit-frame-pointer',
257 ], 262 ],
258 'ldflags': [ 263 'ldflags': [
259 '-march=armv7-a', 264 '-march=armv7-a',
260 '-Wl,--fix-cortex-a8', 265 '-Wl,--fix-cortex-a8',
261 ], 266 ],
262 'sources': [ 267 'sources': [
263 '../third_party/skia/src/opts/memset16_neon.S', 268 '../third_party/skia/src/opts/memset16_neon.S',
264 '../third_party/skia/src/opts/memset32_neon.S', 269 '../third_party/skia/src/opts/memset32_neon.S',
(...skipping 17 matching lines...) Expand all
282 'defines': [ 287 'defines': [
283 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', 288 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT',
284 ], 289 ],
285 }], 290 }],
286 ], 291 ],
287 }, 292 },
288 ], 293 ],
289 }], 294 }],
290 ], 295 ],
291 } 296 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698