Bug 1273603 - rust: enable sse2 code generation on win32. r=mshal
authorRalph Giles <giles@mozilla.com>
Tue, 17 May 2016 11:41:12 -0700
changeset 298176 a5aab104f459d6c68aa576beabd17f6a6aecf7aa
parent 298175 03ed23408215dbc98f987c68a568af89adb25eb8
child 298177 efb574fec48e676ee6681c30849af47e3e7e4006
push id30273
push userkwierso@gmail.com
push dateFri, 20 May 2016 21:08:12 +0000
treeherdermozilla-central@c403ac05b8f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1273603, 1252041
milestone49.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
Bug 1273603 - rust: enable sse2 code generation on win32. r=mshal Now that we're no longer supporting x86 cpus without SSE2 instructions, we can relax this restriction added in bug 1252041. MozReview-Commit-ID: 3Is0M3Em4Wx
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -1020,28 +1020,16 @@ fi
 AC_SUBST(HAVE_64BIT_BUILD)
 AC_LANG_RESTORE
 fi # COMPILE_ENVIRONMENT
 
 dnl ========================================================
 dnl Special rust checks
 dnl ========================================================
 
-if test -n "$MOZ_RUST"; then
-  AC_MSG_CHECKING([rustc target sse2 support])
-  case "$OS_ARCH:$CPU_ARCH" in
-    WINNT:x86)
-      RUSTFLAGS="${RUSTFLAGS} -C target-feature=-sse2"
-      AC_MSG_RESULT([no])
-      ;;
-    *)
-      AC_MSG_RESULT([ok])
-  esac
-fi
-
 if test -n "$MACOSX_DEPLOYMENT_TARGET" -a -n "$MOZ_RUST"; then
   AC_MSG_CHECKING([if we're targeting 32-bit])
   if test -z "$HAVE_64BIT_BUILD"; then
     AC_MSG_RESULT([using $RUSTC])
   else
     AC_MSG_RESULT([no])
   fi
   AC_MSG_CHECKING([rustc compatibility with MacOS X])