Reviewers: dcarney,

Description:
[turbofan] Introduce optional Float64Min and Float64Max machine operators.

Basically recognize certain x < y ? x : y constructs and turn that into
Float64Min/Float64Max operations, if the target machine supports that.
On x86 we lower to (v)minsd/(v)maxsd.

[email protected]

Please review this at https://codereview.chromium.org/998283002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+478, -31 lines):
  M src/compiler/arm/instruction-selector-arm.cc
  M src/compiler/arm64/instruction-selector-arm64.cc
  M src/compiler/common-operator-reducer.h
  M src/compiler/common-operator-reducer.cc
  M src/compiler/ia32/code-generator-ia32.cc
  M src/compiler/ia32/instruction-codes-ia32.h
  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/opcodes.h
  M src/compiler/pipeline.cc
  M src/compiler/simplified-lowering.cc
  M src/compiler/typer.cc
  M src/compiler/verifier.cc
  M src/compiler/x64/code-generator-x64.cc
  M src/compiler/x64/instruction-codes-x64.h
  M src/compiler/x64/instruction-selector-x64.cc
  M src/ia32/assembler-ia32.h
  M src/ia32/assembler-ia32.cc
  M src/ia32/disasm-ia32.cc
  M src/x64/assembler-x64.h
  M src/x64/assembler-x64.cc
  M src/x64/disasm-x64.cc
  M test/cctest/test-disasm-ia32.cc
  M test/cctest/test-disasm-x64.cc
  M test/unittests/compiler/common-operator-reducer-unittest.cc
  M test/unittests/compiler/machine-operator-unittest.cc
  M test/unittests/compiler/node-test-utils.h
  M test/unittests/compiler/node-test-utils.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.

Reply via email to