Mercurial > hg > truffle
diff graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/ir/FloatDiv.java @ 3490:ce7cf6d16b38
Reintroduce Conditional (IfOp) using the new infrastructure, fix the Cmov support in the backend, use x86 cmov when possible, make it work with floating point comparison conditions, make MaterializeNode a subclass of Conditional, fix nasty bug related to introducing LIR jumps in an existing LIRBlock in MaterializeNode/Conditional
Canonicalize FDConversionNode if input is constant
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Fri, 05 Aug 2011 17:40:35 +0200 |
parents | d5f6a22dd959 |
children | 9b59afa78775 |
line wrap: on
line diff
--- a/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/ir/FloatDiv.java Mon Aug 01 18:30:25 2011 +0200 +++ b/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/ir/FloatDiv.java Fri Aug 05 17:40:35 2011 +0200 @@ -22,6 +22,7 @@ */ package com.oracle.max.graal.compiler.ir; +import com.oracle.max.graal.compiler.phases.CanonicalizerPhase.NotifyReProcess; import com.oracle.max.graal.compiler.phases.CanonicalizerPhase.*; import com.oracle.max.graal.graph.*; import com.sun.cri.bytecode.*; @@ -56,7 +57,7 @@ private static class FloatDivCanonicalizerOp implements CanonicalizerOp { @Override - public Node canonical(Node node) { + public Node canonical(Node node, NotifyReProcess reProcess) { FloatDiv div = (FloatDiv) node; Value x = div.x(); Value y = div.y();