Revision: 3996
Author: [email protected]
Date: Tue Mar  2 05:22:04 2010
Log: Add cld before doing rep movs.

Review URL: http://codereview.chromium.org/661368
http://code.google.com/p/v8/source/detail?r=3996

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

=======================================
--- /branches/bleeding_edge/src/ia32/codegen-ia32.cc Mon Mar 1 08:24:05 2010 +++ /branches/bleeding_edge/src/ia32/codegen-ia32.cc Tue Mar 2 05:22:04 2010
@@ -10922,6 +10922,7 @@
   // Copy from edi to esi using rep movs instruction.
   __ mov(scratch, count);
   __ sar(count, 2);  // Number of doublewords to copy.
+  __ cld();
   __ rep_movs();

   // Find number of bytes left.

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

Reply via email to