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

Unified Diff: third_party/libjpeg_turbo/libjpeg.gyp

Issue 10702002: arm: Always build the NEON SIMD code when targetting ARMv7-A devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libjpeg_turbo/libjpeg.gyp
===================================================================
--- third_party/libjpeg_turbo/libjpeg.gyp (revision 144345)
+++ third_party/libjpeg_turbo/libjpeg.gyp (working copy)
@@ -155,10 +155,12 @@
'simd/jiss2red-64.asm',
],
}],
- # The ARM SIMD implementation requires the Neon instruction set.
+ # The ARM SIMD implementation can be used for devices that support
+ # the NEON instruction set. This is done dynamically by probing CPU
+ # features at runtime, so always compile it for ARMv7-A devices.
[ 'target_arch=="arm"', {
'conditions': [
- [ 'arm_neon==1', {
+ [ 'armv7 == 1 or arm_neon == 1', {
'sources': [
'simd/jsimd_arm.c',
'simd/jsimd_arm_neon.S',
« 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