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

Side by Side Diff: src/opts/opts_check_x86.cpp

Issue 338353009: Disable SSE4 procs until Valgrind's sorted out. (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 | « 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 /* 1 /*
2 * Copyright 2009 The Android Open Source Project 2 * Copyright 2009 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkBitmapFilter_opts_SSE2.h" 8 #include "SkBitmapFilter_opts_SSE2.h"
9 #include "SkBitmapProcState_opts_SSE2.h" 9 #include "SkBitmapProcState_opts_SSE2.h"
10 #include "SkBitmapProcState_opts_SSSE3.h" 10 #include "SkBitmapProcState_opts_SSSE3.h"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 } 209 }
210 } 210 }
211 211
212 static SkBlitRow::Proc32 platform_32_procs_SSE2[] = { 212 static SkBlitRow::Proc32 platform_32_procs_SSE2[] = {
213 NULL, // S32_Opaque, 213 NULL, // S32_Opaque,
214 S32_Blend_BlitRow32_SSE2, // S32_Blend, 214 S32_Blend_BlitRow32_SSE2, // S32_Blend,
215 S32A_Opaque_BlitRow32_SSE2, // S32A_Opaque 215 S32A_Opaque_BlitRow32_SSE2, // S32A_Opaque
216 S32A_Blend_BlitRow32_SSE2, // S32A_Blend, 216 S32A_Blend_BlitRow32_SSE2, // S32A_Blend,
217 }; 217 };
218 218
219 #if defined(SK_ATT_ASM_SUPPORTED) 219 // Temporarily disable SSE4 procs while we sort out Valgrind errors.
220
221 #if 0 && defined(SK_ATT_ASM_SUPPORTED)
220 static SkBlitRow::Proc32 platform_32_procs_SSE4[] = { 222 static SkBlitRow::Proc32 platform_32_procs_SSE4[] = {
221 NULL, // S32_Opaque, 223 NULL, // S32_Opaque,
222 S32_Blend_BlitRow32_SSE2, // S32_Blend, 224 S32_Blend_BlitRow32_SSE2, // S32_Blend,
223 S32A_Opaque_BlitRow32_SSE4_asm, // S32A_Opaque 225 S32A_Opaque_BlitRow32_SSE4_asm, // S32A_Opaque
224 S32A_Blend_BlitRow32_SSE2, // S32A_Blend, 226 S32A_Blend_BlitRow32_SSE2, // S32A_Blend,
225 }; 227 };
226 #endif 228 #endif
227 229
228 SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { 230 SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) {
229 #if defined(SK_ATT_ASM_SUPPORTED) 231 #if 0 && defined(SK_ATT_ASM_SUPPORTED)
230 if (supports_simd(SK_CPU_SSE_LEVEL_SSE41)) { 232 if (supports_simd(SK_CPU_SSE_LEVEL_SSE41)) {
231 return platform_32_procs_SSE4[flags]; 233 return platform_32_procs_SSE4[flags];
232 } else 234 } else
233 #endif 235 #endif
234 if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) { 236 if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) {
235 return platform_32_procs_SSE2[flags]; 237 return platform_32_procs_SSE2[flags];
236 } else { 238 } else {
237 return NULL; 239 return NULL;
238 } 240 }
239 } 241 }
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 } else { 389 } else {
388 return SkPlatformXfermodeFactory_impl(rec, mode); 390 return SkPlatformXfermodeFactory_impl(rec, mode);
389 } 391 }
390 } 392 }
391 393
392 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode); 394 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode);
393 395
394 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) { 396 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) {
395 return NULL; 397 return NULL;
396 } 398 }
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