hotspot/src/share/vm/opto/vectornode.cpp
changeset 32723 56534fb3d71a
parent 31035 0f0743952c41
child 33088 34fe49ecee13
child 33105 294e48b4f704
--- a/hotspot/src/share/vm/opto/vectornode.cpp	Fri Sep 04 12:47:57 2015 +0200
+++ b/hotspot/src/share/vm/opto/vectornode.cpp	Wed Sep 09 10:34:17 2015 -0700
@@ -92,6 +92,9 @@
   case Op_DivD:
     assert(bt == T_DOUBLE, "must be");
     return Op_DivVD;
+  case Op_SqrtD:
+    assert(bt == T_DOUBLE, "must be");
+    return Op_SqrtVD;
   case Op_LShiftI:
     switch (bt) {
     case T_BOOLEAN:
@@ -277,6 +280,9 @@
   case Op_DivVF: return new DivVFNode(n1, n2, vt);
   case Op_DivVD: return new DivVDNode(n1, n2, vt);
 
+  // Currently only supports double precision sqrt
+  case Op_SqrtVD: return new SqrtVDNode(n1, vt);
+
   case Op_LShiftVB: return new LShiftVBNode(n1, n2, vt);
   case Op_LShiftVS: return new LShiftVSNode(n1, n2, vt);
   case Op_LShiftVI: return new LShiftVINode(n1, n2, vt);