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

Unified Diff: libjpeg.gyp

Issue 434123003: Add ARM64 SIMD support to libjpeg_turbo (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo
Patch Set: Add neon fixes Created 6 years, 4 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 | « google.patch ('k') | simd/jsimd_arm64.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libjpeg.gyp
diff --git a/libjpeg.gyp b/libjpeg.gyp
index 4f1f7ec983618d8aeb47d48d2e544c4af36b55d5..e20b0d908aba94916720f84735d1fa29d1187e43 100644
--- a/libjpeg.gyp
+++ b/libjpeg.gyp
@@ -182,7 +182,8 @@
}],
[ 'target_arch=="arm64"', {
'sources': [
- 'jsimd_none.c',
+ 'simd/jsimd_arm64.c',
+ 'simd/jsimd_arm64_neon.S',
],
}],
[ 'target_arch=="mipsel"', {
@@ -245,7 +246,7 @@
],
},
}],
- [ 'OS=="linux" or OS=="freebsd" or (OS=="android" and target_arch!="arm")', {
+ [ 'OS=="linux" or OS=="freebsd" or (OS=="android" and (target_arch=="ia32" or target_arch=="x64"))', {
'conditions': [
[ 'use_system_yasm==0', {
'dependencies': [
@@ -284,7 +285,7 @@
'rule_name': 'assemble',
'extension': 'asm',
'conditions': [
- [ 'target_arch!="arm"', {
+ [ 'target_arch=="ia32" or target_arch=="x64"', {
'inputs': [ '<(yasm_path)', ],
'outputs': [
'<(shared_generated_dir)/<(RULE_INPUT_ROOT).<(object_suffix)',
« no previous file with comments | « google.patch ('k') | simd/jsimd_arm64.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698