[turbofan] Add new Float32Abs and Float64Abs operators.
authorBenedikt Meurer <bmeurer@chromium.org>
Wed, 8 Apr 2015 11:54:53 +0000 (13:54 +0200)
committerBenedikt Meurer <bmeurer@chromium.org>
Wed, 8 Apr 2015 11:55:04 +0000 (11:55 +0000)
commit9af9f1d0262e2dab66c62331a03f6a76504f3866
treecbf17db69d24ee9fcef1e373bf0d7e09029083bf
parented6733e8fd6884d2c317b7e767f2337645ee3b30
[turbofan] Add new Float32Abs and Float64Abs operators.

These operators compute the absolute floating point value of some
arbitrary input, and are implemented without any branches (i.e. using
vabs on arm, and andps/andpd on x86).

R=svenpanne@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#27662}
37 files changed:
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/common-operator-reducer.cc
src/compiler/common-operator-reducer.h
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.cc
src/compiler/machine-operator.h
src/compiler/mips/instruction-selector-mips.cc
src/compiler/mips64/instruction-selector-mips64.cc
src/compiler/node-matchers.h
src/compiler/opcodes.h
src/compiler/ppc/instruction-selector-ppc.cc
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/math.js
test/cctest/compiler/test-run-machops.cc
test/cctest/compiler/value-helper.h
test/unittests/compiler/arm/instruction-selector-arm-unittest.cc
test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc
test/unittests/compiler/common-operator-reducer-unittest.cc
test/unittests/compiler/ia32/instruction-selector-ia32-unittest.cc
test/unittests/compiler/machine-operator-unittest.cc
test/unittests/compiler/node-test-utils.cc
test/unittests/compiler/node-test-utils.h
test/unittests/compiler/x64/instruction-selector-x64-unittest.cc