Reviewers: Erik Corry,

Description:
Fixed wrong cmov operand order

[email protected]

Please review this at http://codereview.chromium.org/518082

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/ia32/codegen-ia32.cc


Index: src/ia32/codegen-ia32.cc
===================================================================
--- src/ia32/codegen-ia32.cc    (revision 3571)
+++ src/ia32/codegen-ia32.cc    (working copy)
@@ -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