hotspot/src/cpu/ppc/vm/ppc.ad
changeset 22879 177361c49b26
parent 22874 9918cae8623d
child 22927 3064556d178d
--- a/hotspot/src/cpu/ppc/vm/ppc.ad	Thu Feb 20 10:48:57 2014 +0100
+++ b/hotspot/src/cpu/ppc/vm/ppc.ad	Thu Feb 20 11:05:12 2014 +0100
@@ -2076,6 +2076,8 @@
     return false;
 
   switch (opcode) {
+  case Op_SqrtD:
+    return VM_Version::has_fsqrt();
   case Op_CountLeadingZerosI:
   case Op_CountLeadingZerosL:
   case Op_CountTrailingZerosI:
@@ -8740,7 +8742,7 @@
   ins_pipe(pipe_class_default);
 %}
 
-// VM_Version::has_sqrt() decides if this node will be used.
+// VM_Version::has_fsqrt() decides if this node will be used.
 // Sqrt float double precision
 instruct sqrtD_reg(regD dst, regD src) %{
   match(Set dst (SqrtD src));