Reviewers: Yang, Description: Improve integer division on IA32 and X64 If the divisor is a Power-of-2 constant, we could use shifts instead of the expensive idiv instructions, which also loose the register constraints.
Please review this at https://codereview.chromium.org/11478043/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/hydrogen-instructions.h M src/ia32/lithium-codegen-ia32.cc M src/ia32/lithium-ia32.cc M src/x64/lithium-codegen-x64.cc M src/x64/lithium-x64.cc -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
