Reviewers: danno, dcarney, Sven Panne,

Message:
PPC Fix for next breaking change.

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

Port 99f8d57f3c5d967bc3b10356b22d7ec7be55e89f

Original commit message:
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]

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

Cr-Commit-Position: refs/heads/master@{#27160}

[email protected], [email protected]

BUG=

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

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

Affected files (+6, -0 lines):
  M src/compiler/ppc/instruction-selector-ppc.cc


Index: src/compiler/ppc/instruction-selector-ppc.cc
diff --git a/src/compiler/ppc/instruction-selector-ppc.cc b/src/compiler/ppc/instruction-selector-ppc.cc index 56d683479b882d9eff945dc7be803cd44c40714a..4cfae16e2768c120b2ad64ebe3eefa3a7b4cb2cf 100644
--- a/src/compiler/ppc/instruction-selector-ppc.cc
+++ b/src/compiler/ppc/instruction-selector-ppc.cc
@@ -963,6 +963,12 @@ void InstructionSelector::VisitFloat64Mod(Node* node) {
 }


+void InstructionSelector::VisitFloat64Max(Node* node) { UNREACHABLE(); }
+
+
+void InstructionSelector::VisitFloat64Min(Node* node) { UNREACHABLE(); }
+
+
 void InstructionSelector::VisitFloat64Sqrt(Node* node) {
   VisitRRFloat64(this, kPPC_SqrtFloat64, node);
 }


--
--
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