author | Landry Breuil <landry@openbsd.org> |
Tue, 04 Sep 2012 22:19:50 +0200 | |
changeset 104217 | 7d0ccb7578603b4f51ae9649e1a363b65e33f4e3 |
parent 104216 | 4a7b6c2667529d647400780a2c8627b9822f0cb5 |
child 104218 | 87b00ac22aa8b1340acc1b11b8b466dfabbd468b |
push id | 14402 |
push user | landry@openbsd.org |
push date | Tue, 04 Sep 2012 20:31:41 +0000 |
treeherder | mozilla-inbound@7d0ccb757860 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | ted |
bugs | 786995 |
milestone | 18.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
configure.in | file | annotate | diff | comparison | revisions | |
gfx/skia/Makefile.in | file | annotate | diff | comparison | revisions |
--- a/configure.in +++ b/configure.in @@ -1392,25 +1392,25 @@ if test "$GNU_CC"; then AC_MSG_CHECKING([for -z noexecstack option to ld]) _SAVE_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -Wl,-z,noexecstack" AC_TRY_LINK(,,AC_MSG_RESULT([yes]), AC_MSG_RESULT([no]) LDFLAGS=$_SAVE_LDFLAGS) # Check for -mssse3 on $CC - AC_MSG_CHECKING([for -mssse3 option to $CC]) - HAVE_COMPILER_FLAG_MSSSE3= + AC_MSG_CHECKING([if toolchain supports -mssse3 option]) + HAVE_TOOLCHAIN_SUPPORT_MSSSE3= _SAVE_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -mssse3" - AC_TRY_COMPILE(,,AC_MSG_RESULT([yes]) - [HAVE_COMPILER_FLAG_MSSSE3=1], + AC_TRY_COMPILE([asm ("pmaddubsw %xmm2,%xmm3");],,AC_MSG_RESULT([yes]) + [HAVE_TOOLCHAIN_SUPPORT_MSSSE3=1], AC_MSG_RESULT([no])) CFLAGS=$_SAVE_CFLAGS - AC_SUBST(HAVE_COMPILER_FLAG_MSSSE3) + AC_SUBST(HAVE_TOOLCHAIN_SUPPORT_MSSSE3) # Turn on GNU-specific warnings: # -Wall - turn on a lot of warnings # -pedantic - this is turned on below # -Wpointer-arith - enabled with -pedantic, but good to have even if not # -Wdeclaration-after-statement - MSVC doesn't like these # -Werror=return-type - catches missing returns, zero false positives # -Wtype-limits - catches overflow bugs, few false positives
--- a/gfx/skia/Makefile.in +++ b/gfx/skia/Makefile.in @@ -365,17 +365,17 @@ endif ifneq (,$(INTEL_ARCHITECTURE)) CPPSRCS += \ SkBitmapProcState_opts_SSE2.cpp \ SkBlitRect_opts_SSE2.cpp \ SkBlitRow_opts_SSE2.cpp \ SkUtils_opts_SSE2.cpp \ opts_check_SSE2.cpp \ $(NULL) -ifdef HAVE_COMPILER_FLAG_MSSSE3 +ifdef HAVE_TOOLCHAIN_SUPPORT_MSSSE3 DEFINES += -DSK_BUILD_SSSE3 CPPSRCS += SkBitmapProcState_opts_SSSE3.cpp endif else ifeq ($(CPU_ARCH)_$(GNU_CC),arm_1) CPPSRCS += \ SkBitmapProcState_opts_arm.cpp \ SkBlitRow_opts_arm.cpp \