Bug 1273603 - rust: enable sse2 code generation on win32. r=mshal
☠☠ backed out by 9c21202a775c ☠ ☠
authorRalph Giles <giles@mozilla.com>
Tue, 17 May 2016 11:41:12 -0700
changeset 297992 8e163192093da04de733971f04b8641289a2d04f
parent 297991 113aed339ad20300dcd8d420b04a759c01f84158
child 297993 bb7ad21e70e55a559b4facf0498d1ed29f4ab812
push id30270
push userryanvm@gmail.com
push dateThu, 19 May 2016 16:47:16 +0000
treeherdermozilla-central@1806d405c871 [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])