Bug 1273603 - rust: enable sse2 code generation on win32. r?mshal draft
authorRalph Giles <giles@mozilla.com>
Tue, 17 May 2016 11:41:12 -0700
changeset 367960 de7149a98c5f022eb51bc8c761c4394798ee9ea9
parent 367959 70cd4f91d23927e88d3721ae3830cc699287b37c
child 367961 2b4e5a40c79899cdc5f45321f7fa05100ac8e272
push id18396
push userbmo:giles@thaumas.net
push dateTue, 17 May 2016 19:54:14 +0000
reviewersmshal
bugs1273603, 1252041
milestone49.0a1
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])