[turbofan] Also optimize unsigned division by constant.
authorbmeurer@chromium.org <bmeurer@chromium.org>
Mon, 3 Nov 2014 10:04:37 +0000 (10:04 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Mon, 3 Nov 2014 10:05:46 +0000 (10:05 +0000)
commit498920f91cde6f958fe6caab67bb04d776e78460
tree6c825b72915bbde50415064e39b52897e384bb80
parente634bdb290cb3761b9335d1bf7ec016fb3ebdbd5
[turbofan] Also optimize unsigned division by constant.

TEST=cctest,mjsunit,unittests
R=jarin@chromium.org

Review URL: https://codereview.chromium.org/697663003

Cr-Commit-Position: refs/heads/master@{#25061}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25061 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
35 files changed:
src/arm64/macro-assembler-arm64-inl.h
src/arm64/macro-assembler-arm64.h
src/compiler/arm/code-generator-arm.cc
src/compiler/arm/instruction-codes-arm.h
src/compiler/arm/instruction-selector-arm.cc
src/compiler/arm64/code-generator-arm64.cc
src/compiler/arm64/instruction-codes-arm64.h
src/compiler/arm64/instruction-selector-arm64.cc
src/compiler/change-lowering.cc
src/compiler/ia32/code-generator-ia32.cc
src/compiler/ia32/instruction-codes-ia32.h
src/compiler/ia32/instruction-selector-ia32.cc
src/compiler/instruction-selector.cc
src/compiler/machine-operator-reducer.cc
src/compiler/machine-operator-reducer.h
src/compiler/machine-operator.cc
src/compiler/machine-operator.h
src/compiler/opcodes.h
src/compiler/raw-machine-assembler.h
src/compiler/simplified-lowering.cc
src/compiler/typer.cc
src/compiler/verifier.cc
src/compiler/x64/code-generator-x64.cc
src/compiler/x64/instruction-codes-x64.h
src/compiler/x64/instruction-selector-x64.cc
src/x64/assembler-x64.cc
src/x64/assembler-x64.h
test/cctest/compiler/test-run-machops.cc
test/cctest/test-disasm-x64.cc
test/mjsunit/asm/uint32div.js [new file with mode: 0644]
test/mjsunit/asm/uint32mod.js [new file with mode: 0644]
test/unittests/compiler/arm/instruction-selector-arm-unittest.cc
test/unittests/compiler/change-lowering-unittest.cc
test/unittests/compiler/machine-operator-reducer-unittest.cc
test/unittests/compiler/x64/instruction-selector-x64-unittest.cc