[turbofan] Complete support for integer division/modulus in simplified lowering.
authorbmeurer@chromium.org <bmeurer@chromium.org>
Tue, 28 Oct 2014 13:56:26 +0000 (13:56 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Tue, 28 Oct 2014 13:56:46 +0000 (13:56 +0000)
commit81aaeb476d4792032dc2fc9975f939cb3bd742fa
tree6ab67aee2fb96058fa26dbe5524336b2c4a9d825
parentd3eb7e8e8cc32424aa7992c25dc9fdcf74fcf9c7
[turbofan] Complete support for integer division/modulus in simplified lowering.

Also add backend flags that tell whether integer division/modulus is
generally safe, i.e. does not trap on overflow or divide by zero.

TEST=unittests
R=dcarney@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#24942}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24942 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
12 files changed:
src/compiler/arm/instruction-selector-arm.cc
src/compiler/arm64/instruction-selector-arm64.cc
src/compiler/ia32/instruction-selector-ia32.cc
src/compiler/machine-operator-reducer.cc
src/compiler/machine-operator.h
src/compiler/node-matchers.h
src/compiler/operator-properties-inl.h
src/compiler/simplified-lowering.cc
src/compiler/simplified-lowering.h
src/compiler/x64/instruction-selector-x64.cc
test/cctest/compiler/test-simplified-lowering.cc
test/unittests/compiler/machine-operator-unittest.cc