Reviewers: William Hesse,

Description:
ARM improvements to constant div, mod and mul.
* Fast runtime calls for div and mod.
* Fix assembly and disassembly of multiply instructions.
* Strength reduce and inline multiplications to shift-add.
* Strength reduce and inline mod by power of 2.
* Strength reduce mod by other small integers to mul.
* Strength reduce div by 2 and 3.

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

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

Affected files:
   M     src/arm/assembler-arm.cc
   M     src/arm/codegen-arm.h
   M     src/arm/codegen-arm.cc
   M     src/arm/disasm-arm.cc
   M     src/arm/simulator-arm.cc
   M     src/assembler.cc
   M     src/serialize.cc
   A     test/mjsunit/div-mod.js
   M     test/mjsunit/smi-negative-zero.js



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

Reply via email to