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 322642 a5aab104f459d6c68aa576beabd17f6a6aecf7aa
parent 322641 03ed23408215dbc98f987c68a568af89adb25eb8
child 322643 efb574fec48e676ee6681c30849af47e3e7e4006
push id9671
push userraliiev@mozilla.com
push dateMon, 06 Jun 2016 20:27:52 +0000
treeherdermozilla-aurora@cea65ca3d0bd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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])