Revision: 13157
Author:   [email protected]
Date:     Thu Dec  6 23:09:57 2012
Log:      Fix nosse2 tests

[email protected]

Review URL: https://chromiumcodereview.appspot.com/11439028
http://code.google.com/p/v8/source/detail?r=13157

Modified:
 /branches/bleeding_edge/test/cctest/test-disasm-ia32.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-disasm-ia32.cc Fri Dec 2 02:01:50 2011 +++ /branches/bleeding_edge/test/cctest/test-disasm-ia32.cc Thu Dec 6 23:09:57 2012
@@ -442,7 +442,8 @@
   }

   {
-    if (CpuFeatures::IsSupported(SSE4_1)) {
+    if (CpuFeatures::IsSupported(SSE2) &&
+        CpuFeatures::IsSupported(SSE4_1)) {
       CpuFeatures::Scope scope(SSE4_1);
       __ pextrd(eax, xmm0, 1);
       __ pinsrd(xmm1, eax, 0);

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to