From e4fd62d2cefc470b255b4b08dfab1bdf654d92cf Mon Sep 17 00:00:00 2001 From: Makoto Kato Date: Thu, 7 Feb 2013 17:13:03 +0900 Subject: [PATCH] Bug 838504 - Turn on SSSE3 opt on Skia for Windows. r=gw280 --- configure.in | 5 +++++ gfx/skia/Makefile.in | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 71ec23303de..ac70edc17b1 100644 --- a/configure.in +++ b/configure.in @@ -2177,6 +2177,11 @@ ia64*-hpux*) dnl Probably also a compiler bug, but what can you do? PROFILE_USE_LDFLAGS="-LTCG:PGUPDATE" LDFLAGS="$LDFLAGS -DYNAMICBASE" + if test "$_MSC_VER" -ge 1500; then + dnl VS2008 or later supports SSSE3 + HAVE_TOOLCHAIN_SUPPORT_MSSSE3=1 + AC_SUBST(HAVE_TOOLCHAIN_SUPPORT_MSSSE3) + fi fi AC_DEFINE(HAVE_SNPRINTF) AC_DEFINE(_WINDOWS) diff --git a/gfx/skia/Makefile.in b/gfx/skia/Makefile.in index b2295c9bd18..4e282a9d9e6 100644 --- a/gfx/skia/Makefile.in +++ b/gfx/skia/Makefile.in @@ -377,9 +377,6 @@ CPPSRCS += \ SkFontHost_sandbox_none.cpp \ SkTime_win.cpp \ $(NULL) -ifdef _MSC_VER -HAVE_COMPILER_FLAG_MSSSE3=1 -endif endif ifneq (,$(INTEL_ARCHITECTURE))