Revision: 3572
Author: [email protected]
Date: Fri Jan  8 06:17:26 2010
Log: Fixed wrong cmov operand order

[email protected]
Review URL: http://codereview.chromium.org/518082
http://code.google.com/p/v8/source/detail?r=3572

Modified:
 /branches/bleeding_edge/src/ia32/codegen-ia32.cc

=======================================
--- /branches/bleeding_edge/src/ia32/codegen-ia32.cc Fri Jan 8 05:48:27 2010 +++ /branches/bleeding_edge/src/ia32/codegen-ia32.cc Fri Jan 8 06:17:26 2010
@@ -9653,7 +9653,7 @@
   __ cmp(counter, Operand(scratch1));
   if (CpuFeatures::IsSupported(CMOV)) {
     CpuFeatures::Scope use_cmov(CMOV);
-    __ cmov(less, counter, Operand(scratch1));
+    __ cmov(greater, counter, Operand(scratch1));
   } else {
     Label l;
     __ j(less, &l);
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to