Reviewers: Mads Ager,

Message:
Mads,

may you have a look?

Description:
Use direct loop when filling small arrays.

r3995 (http://code.google.com/p/v8/source/detail?r=3995) introduce performance
regression for the case when arrat size is small (think new Array(4)).

It turns out that in those cases rep stos is slower than plain loop (apprently
due to ecx increment, but I didn't check this hypothesis.)  The next thing
to try could be direct jump into right place of long sequence of stos'es.

Please review this at http://codereview.chromium.org/2082006/show

Affected files:
  M src/ia32/assembler-ia32.h
  M src/ia32/assembler-ia32.cc
  M src/ia32/builtins-ia32.cc
  M src/ia32/disasm-ia32.cc
  M test/cctest/test-disasm-ia32.cc


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

Reply via email to