Undo troublesome SSE 4.1 change for now to unblock Skia -> Chrome roll.

BUG=chromium:374796

NOTREECHECKS=true
R=fmalita@chromium.org, mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/292563005

git-svn-id: http://skia.googlecode.com/svn/trunk@14816 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
commit-bot@chromium.org 2014-05-20 23:07:26 +00:00
Родитель bbdfe29a17
Коммит d09461fe0e
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -10,9 +10,6 @@
#include "SkBlurImage_opts_SSE2.h" #include "SkBlurImage_opts_SSE2.h"
#include "SkColorPriv.h" #include "SkColorPriv.h"
#include "SkRect.h" #include "SkRect.h"
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE41
#include <smmintrin.h>
#endif
namespace { namespace {
enum BlurDirection { enum BlurDirection {
@ -58,7 +55,7 @@ void SkBoxBlur_SSE2(const SkPMColor* src, int srcStride, SkPMColor* dst, int ker
const SkPMColor* sptr = src; const SkPMColor* sptr = src;
SkColor* dptr = dst; SkColor* dptr = dst;
for (int x = 0; x < width; ++x) { for (int x = 0; x < width; ++x) {
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE41 #if 0
// In SSE4.1, this would be // In SSE4.1, this would be
__m128i result = _mm_mullo_epi32(sum, scale); __m128i result = _mm_mullo_epi32(sum, scale);
#else #else