src/cpu/ppc/vm/ppc.ad

changeset 6510
7c462558a08a
parent 6508
c4178a748df9
child 6511
31e80afe3fed
     1.1 --- a/src/cpu/ppc/vm/ppc.ad	Thu Feb 20 10:48:57 2014 +0100
     1.2 +++ b/src/cpu/ppc/vm/ppc.ad	Thu Feb 20 11:05:12 2014 +0100
     1.3 @@ -2076,6 +2076,8 @@
     1.4      return false;
     1.5  
     1.6    switch (opcode) {
     1.7 +  case Op_SqrtD:
     1.8 +    return VM_Version::has_fsqrt();
     1.9    case Op_CountLeadingZerosI:
    1.10    case Op_CountLeadingZerosL:
    1.11    case Op_CountTrailingZerosI:
    1.12 @@ -8740,7 +8742,7 @@
    1.13    ins_pipe(pipe_class_default);
    1.14  %}
    1.15  
    1.16 -// VM_Version::has_sqrt() decides if this node will be used.
    1.17 +// VM_Version::has_fsqrt() decides if this node will be used.
    1.18  // Sqrt float double precision
    1.19  instruct sqrtD_reg(regD dst, regD src) %{
    1.20    match(Set dst (SqrtD src));

mercurial