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

Unified Diff: skia/ext/convolver.h

Issue 12987020: enable SSE2 when using msvc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: skia/ext/convolver.h
diff --git a/skia/ext/convolver.h b/skia/ext/convolver.h
index ec7cc6309a1cd8b21367e5454eb6eb11639e91ae..ea62a46e72d4b75be4625e8576b49a9ea7491ece 100644
--- a/skia/ext/convolver.h
+++ b/skia/ext/convolver.h
@@ -15,7 +15,7 @@
#if defined(ARCH_CPU_X86_FAMILY)
// TODO(hclam): SSE2 is disabled on Linux 32-bits because GCC requires -msse2.
// We should refactor the code in .cc and enable this.
-#if defined(ARCH_CPU_X86_64) || defined(OS_MACOSX)
+#if defined(ARCH_CPU_X86_64) || defined(OS_MACOSX) || defined(COMPILER_MSVC)
#define SIMD_SSE2 1
#endif
#endif
« 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