Reviewers: Mads Ager,

Description:
Code gen improvements for multiply and logical shift.

Code generation for multiply-by-constant-smi:

For positive constant values the negative-zero check is eliminated.
For negative constant values the negative-zero check is simpified.

Special cases for constants -1, 0, and 1.

Improved code sequence for  x >>> k.  For k = 0/1/n the old inline
code was 8/8/6 instructions, is now 2/4/5 instructions.



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

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

Affected files:
   M     src/ia32/codegen-ia32.cc
   M     test/mjsunit/smi-ops.js


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

Reply via email to