summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-25 22:40:57 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-25 22:40:57 +0000
commit5d268b1cdf5e82b60c3675b90c6829405e7ef17f (patch)
treeddd4043659b17fb61c4d7bd29fc0002cdb646ad0 /skia
parentc29b7dae7aa9f1bc56c06e4793914ad24c714448 (diff)
downloadchromium_src-5d268b1cdf5e82b60c3675b90c6829405e7ef17f.zip
chromium_src-5d268b1cdf5e82b60c3675b90c6829405e7ef17f.tar.gz
chromium_src-5d268b1cdf5e82b60c3675b90c6829405e7ef17f.tar.bz2
enable SSE2 when using msvc
BUG=181072 Review URL: https://codereview.chromium.org/12987020 Patch from Fredrik Hubinette <hubbe@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190493 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r--skia/ext/convolver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/skia/ext/convolver.h b/skia/ext/convolver.h
index ec7cc63..ea62a46 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