Reviewers: jarin,
Description:
[turbofan] Add TruncationMode for TruncateFloat64ToInt32.
We actually need round to zero truncation to implement the counterpart
of LDoubleToI in TurboFan, which tries to convert a double to an integer
as required for keyed load/store optimizations.
Drive-by-cleanup: Reduce some code duplication in the InstructionSelector
implementations.
[email protected]
Please review this at https://codereview.chromium.org/1225993002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+235, -159 lines):
M src/compiler/arm/instruction-selector-arm.cc
M src/compiler/arm64/instruction-selector-arm64.cc
M src/compiler/ia32/instruction-selector-ia32.cc
M src/compiler/instruction-selector.cc
M src/compiler/machine-operator.h
M src/compiler/machine-operator.cc
M src/compiler/machine-operator-reducer.cc
M src/compiler/mips/instruction-selector-mips.cc
M src/compiler/mips64/instruction-selector-mips64.cc
M src/compiler/raw-machine-assembler.h
M src/compiler/representation-change.h
M src/compiler/simplified-lowering.cc
M src/compiler/x64/instruction-selector-x64.cc
M test/cctest/compiler/test-run-machops.cc
M test/unittests/compiler/instruction-selector-unittest.cc
M test/unittests/compiler/machine-operator-reducer-unittest.cc
M test/unittests/compiler/machine-operator-unittest.cc
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.