src/cpu/ppc/vm/ppc.ad

changeset 7638
aefa2e84b424
parent 7424
c5e86c5cd22e
child 7836
37a5a1341478
     1.1 --- a/src/cpu/ppc/vm/ppc.ad	Wed Mar 18 18:12:01 2015 -0700
     1.2 +++ b/src/cpu/ppc/vm/ppc.ad	Thu Mar 19 19:53:34 2015 +0100
     1.3 @@ -4418,11 +4418,11 @@
     1.4    interface(CONST_INTER);
     1.5  %}
     1.6  
     1.7 -// constant 'float +0.0'.
     1.8 +// Float Immediate: +0.0f.
     1.9  operand immF_0() %{
    1.10 -  predicate((n->getf() == 0) &&
    1.11 -            (fpclassify(n->getf()) == FP_ZERO) && (signbit(n->getf()) == 0));
    1.12 +  predicate(jint_cast(n->getf()) == 0);
    1.13    match(ConF);
    1.14 +  
    1.15    op_cost(0);
    1.16    format %{ %}
    1.17    interface(CONST_INTER);

mercurial