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

Side by Side Diff: gyp/opts.gyp

Issue 326913004: MIPS: added optimization for functions from SkBlitRow. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « gyp/common_conditions.gypi ('k') | src/opts/SkBlitRow_opts_mips_dsp.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Gyp file for opts projects 1 # Gyp file for opts projects
2 { 2 {
3 'targets': [ 3 'targets': [
4 # Due to an unfortunate intersection of lameness between gcc and gyp, 4 # Due to an unfortunate intersection of lameness between gcc and gyp,
5 # we have to build the *_SSE2.cpp files in a separate target. The 5 # we have to build the *_SSE2.cpp files in a separate target. The
6 # gcc lameness is that, in order to compile SSE2 intrinsics code, it 6 # gcc lameness is that, in order to compile SSE2 intrinsics code, it
7 # must be passed the -msse2 flag. However, with this flag, it may 7 # must be passed the -msse2 flag. However, with this flag, it may
8 # emit SSE2 instructions even for scalar code, such as the CPUID 8 # emit SSE2 instructions even for scalar code, such as the CPUID
9 # test used to test for the presence of SSE2. So that, and all other 9 # test used to test for the presence of SSE2. So that, and all other
10 # code must be compiled *without* -msse2. The gyp lameness is that it 10 # code must be compiled *without* -msse2. The gyp lameness is that it
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 [ 'skia_os == "ios"', { 93 [ 'skia_os == "ios"', {
94 'sources!': [ 94 'sources!': [
95 # these fail to compile under xcode for ios 95 # these fail to compile under xcode for ios
96 '../src/opts/memset.arm.S', 96 '../src/opts/memset.arm.S',
97 '../src/opts/SkBitmapProcState_opts_arm.cpp', 97 '../src/opts/SkBitmapProcState_opts_arm.cpp',
98 '../src/opts/SkBlitRow_opts_arm.cpp', 98 '../src/opts/SkBlitRow_opts_arm.cpp',
99 ], 99 ],
100 }], 100 }],
101 ], 101 ],
102 }], 102 }],
103 [ '(skia_arch_type == "mips") or (skia_arch_type == "arm" and arm_versio n < 7) \ 103 [ 'skia_arch_type == "mips"', {
104 'sources': [
105 '../src/opts/SkBitmapProcState_opts_none.cpp',
106 '../src/opts/SkBlitMask_opts_none.cpp',
107 '../src/opts/SkBlurImage_opts_none.cpp',
108 '../src/opts/SkMorphology_opts_none.cpp',
109 '../src/opts/SkUtils_opts_none.cpp',
110 '../src/opts/SkXfermode_opts_none.cpp',
111 ],
112 'conditions': [
113 [ '(mips_arch_variant == "mips32r2") \
114 and (mips_dsp == 1 or mips_dsp == 2)', {
115 'sources': [
116 '../src/opts/SkBlitRow_opts_mips_dsp.cpp',
117 ],
118 }, {
119 'sources': [
120 '../src/opts/SkBlitRow_opts_none.cpp',
121 ],
122 }],
123 ],
124 }],
125 [ '(skia_arch_type == "arm" and arm_version < 7) \
104 or (skia_os == "ios") \ 126 or (skia_os == "ios") \
105 or (skia_os == "android" and skia_arch_type not in ["x86", "arm", "m ips", "arm64"])', { 127 or (skia_os == "android" and skia_arch_type not in ["x86", "arm", "m ips", "arm64"])', {
106 'sources': [ 128 'sources': [
107 '../src/opts/SkBitmapProcState_opts_none.cpp', 129 '../src/opts/SkBitmapProcState_opts_none.cpp',
108 '../src/opts/SkBlitMask_opts_none.cpp', 130 '../src/opts/SkBlitMask_opts_none.cpp',
109 '../src/opts/SkBlitRow_opts_none.cpp', 131 '../src/opts/SkBlitRow_opts_none.cpp',
110 '../src/opts/SkBlurImage_opts_none.cpp', 132 '../src/opts/SkBlurImage_opts_none.cpp',
111 '../src/opts/SkMorphology_opts_none.cpp', 133 '../src/opts/SkMorphology_opts_none.cpp',
112 '../src/opts/SkUtils_opts_none.cpp', 134 '../src/opts/SkUtils_opts_none.cpp',
113 '../src/opts/SkXfermode_opts_none.cpp', 135 '../src/opts/SkXfermode_opts_none.cpp',
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 '../src/opts/SkBitmapProcState_matrix_neon.h', 237 '../src/opts/SkBitmapProcState_matrix_neon.h',
216 '../src/opts/SkBlitMask_opts_arm_neon.cpp', 238 '../src/opts/SkBlitMask_opts_arm_neon.cpp',
217 '../src/opts/SkBlitRow_opts_arm_neon.cpp', 239 '../src/opts/SkBlitRow_opts_arm_neon.cpp',
218 '../src/opts/SkBlurImage_opts_neon.cpp', 240 '../src/opts/SkBlurImage_opts_neon.cpp',
219 '../src/opts/SkMorphology_opts_neon.cpp', 241 '../src/opts/SkMorphology_opts_neon.cpp',
220 '../src/opts/SkXfermode_opts_arm_neon.cpp', 242 '../src/opts/SkXfermode_opts_arm_neon.cpp',
221 ], 243 ],
222 }, 244 },
223 ], 245 ],
224 } 246 }
OLDNEW
« no previous file with comments | « gyp/common_conditions.gypi ('k') | src/opts/SkBlitRow_opts_mips_dsp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698