ARM improvements to constant div, mod and mul.
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 3 Jul 2009 12:44:31 +0000 (12:44 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 3 Jul 2009 12:44:31 +0000 (12:44 +0000)
commit9dd35ee2f9414a55e9f51d35ddc5fcf9a6e1acfe
tree9ae0bfb2ab0ec1d1d708fc4711a6b2024e041a52
parent1a3d633edc36de3bd75fd6eea28c828c7989c84d
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.
Review URL: http://codereview.chromium.org/155047

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2355 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/assembler-arm.cc
src/arm/codegen-arm.cc
src/arm/codegen-arm.h
src/arm/disasm-arm.cc
src/arm/simulator-arm.cc
src/assembler.cc
src/serialize.cc
test/mjsunit/div-mod.js [new file with mode: 0644]
test/mjsunit/smi-negative-zero.js