| Index: src/opts/opts_check_x86.cpp
|
| diff --git a/src/opts/opts_check_x86.cpp b/src/opts/opts_check_x86.cpp
|
| index 6af47729cd06a59bd973c0e8621c7dcddc5d6268..55cd082b824bfe64c9261cffdd755601db041e08 100644
|
| --- a/src/opts/opts_check_x86.cpp
|
| +++ b/src/opts/opts_check_x86.cpp
|
| @@ -21,6 +21,14 @@
|
| #include "SkXfermode.h"
|
| #include "SkXfermode_proccoeff.h"
|
|
|
| +// Temporarily disable everything but SSE2: crbug.com/372232.
|
| +#if 1
|
| +static inline bool supports_simd(int minLevel) {
|
| + SkASSERT(SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2);
|
| + return minLevel <= SK_CPU_SSE_LEVEL_SSE2;
|
| +}
|
| +#else
|
| +
|
| #if defined(_MSC_VER) && defined(_WIN64)
|
| #include <intrin.h>
|
| #endif
|
| @@ -116,6 +124,8 @@ static inline bool supports_simd(int minLevel) {
|
| }
|
| }
|
|
|
| +#endif // Temporarily disable everything but SSE2: crbug.com/372232.
|
| +
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|
| SK_CONF_DECLARE( bool, c_hqfilter_sse, "bitmap.filter.highQualitySSE", false, "Use SSE optimized version of high quality image filters");
|
|
|