changeset 29581 | b8d83fef0c8e |
parent 28954 | 7dda6c26cc98 |
child 30303 | c703c89fddbf |
--- a/hotspot/src/cpu/ppc/vm/ppc.ad Mon Feb 16 14:07:36 2015 +0100 +++ b/hotspot/src/cpu/ppc/vm/ppc.ad Sat Mar 14 11:21:04 2015 +0100 @@ -4416,11 +4416,11 @@ interface(CONST_INTER); %} -// constant 'float +0.0'. +// Float Immediate: +0.0f. operand immF_0() %{ - predicate((n->getf() == 0) && - (fpclassify(n->getf()) == FP_ZERO) && (signbit(n->getf()) == 0)); + predicate(jint_cast(n->getf()) == 0); match(ConF); + op_cost(0); format %{ %} interface(CONST_INTER);