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

Side by Side Diff: gyp/opts.gyp

Issue 336533003: MIPS: added optimizations for functions from SkBitmapProcState (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 5 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 | src/opts/SkBitmapProcState_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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 # these fail to compile under xcode for ios 96 # these fail to compile under xcode for ios
97 '../src/opts/memset.arm.S', 97 '../src/opts/memset.arm.S',
98 '../src/opts/SkBitmapProcState_opts_arm.cpp', 98 '../src/opts/SkBitmapProcState_opts_arm.cpp',
99 '../src/opts/SkBlitRow_opts_arm.cpp', 99 '../src/opts/SkBlitRow_opts_arm.cpp',
100 ], 100 ],
101 }], 101 }],
102 ], 102 ],
103 }], 103 }],
104 [ 'skia_arch_type == "mips"', { 104 [ 'skia_arch_type == "mips"', {
105 'sources': [ 105 'sources': [
106 '../src/opts/SkBitmapProcState_opts_none.cpp',
107 '../src/opts/SkBlitMask_opts_none.cpp', 106 '../src/opts/SkBlitMask_opts_none.cpp',
108 '../src/opts/SkBlurImage_opts_none.cpp', 107 '../src/opts/SkBlurImage_opts_none.cpp',
109 '../src/opts/SkMorphology_opts_none.cpp', 108 '../src/opts/SkMorphology_opts_none.cpp',
110 '../src/opts/SkUtils_opts_none.cpp', 109 '../src/opts/SkUtils_opts_none.cpp',
111 '../src/opts/SkXfermode_opts_none.cpp', 110 '../src/opts/SkXfermode_opts_none.cpp',
112 ], 111 ],
113 'conditions': [ 112 'conditions': [
114 [ '(mips_arch_variant == "mips32r2") \ 113 [ '(mips_arch_variant == "mips32r2") \
115 and (mips_dsp == 1 or mips_dsp == 2)', { 114 and (mips_dsp == 1 or mips_dsp == 2)', {
116 'sources': [ 115 'sources': [
116 '../src/opts/SkBitmapProcState_opts_mips_dsp.cpp',
117 '../src/opts/SkBlitRow_opts_mips_dsp.cpp', 117 '../src/opts/SkBlitRow_opts_mips_dsp.cpp',
118 ], 118 ],
119 }, { 119 }, {
120 'sources': [ 120 'sources': [
121 '../src/opts/SkBitmapProcState_opts_none.cpp',
121 '../src/opts/SkBlitRow_opts_none.cpp', 122 '../src/opts/SkBlitRow_opts_none.cpp',
122 ], 123 ],
123 }], 124 }],
124 ], 125 ],
125 }], 126 }],
126 [ '(skia_arch_type == "arm" and arm_version < 7) \ 127 [ '(skia_arch_type == "arm" and arm_version < 7) \
127 or (skia_os == "ios") \ 128 or (skia_os == "ios") \
128 or (skia_os == "android" and skia_arch_type not in ["x86", "arm", "m ips", "arm64"])', { 129 or (skia_os == "android" and skia_arch_type not in ["x86", "arm", "m ips", "arm64"])', {
129 'sources': [ 130 'sources': [
130 '../src/opts/SkBitmapProcState_opts_none.cpp', 131 '../src/opts/SkBitmapProcState_opts_none.cpp',
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 '../src/opts/SkBitmapProcState_matrix_neon.h', 274 '../src/opts/SkBitmapProcState_matrix_neon.h',
274 '../src/opts/SkBlitMask_opts_arm_neon.cpp', 275 '../src/opts/SkBlitMask_opts_arm_neon.cpp',
275 '../src/opts/SkBlitRow_opts_arm_neon.cpp', 276 '../src/opts/SkBlitRow_opts_arm_neon.cpp',
276 '../src/opts/SkBlurImage_opts_neon.cpp', 277 '../src/opts/SkBlurImage_opts_neon.cpp',
277 '../src/opts/SkMorphology_opts_neon.cpp', 278 '../src/opts/SkMorphology_opts_neon.cpp',
278 '../src/opts/SkXfermode_opts_arm_neon.cpp', 279 '../src/opts/SkXfermode_opts_arm_neon.cpp',
279 ], 280 ],
280 }, 281 },
281 ], 282 ],
282 } 283 }
OLDNEW
« no previous file with comments | « no previous file | src/opts/SkBitmapProcState_opts_mips_dsp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698