--- old/src/hotspot/share/opto/subnode.hpp 2017-11-17 16:29:48.827180915 -0800 +++ new/src/hotspot/share/opto/subnode.hpp 2017-11-17 16:29:48.619180470 -0800 @@ -442,6 +442,20 @@ virtual const Type* Value(PhaseGVN* phase) const; }; +//------------------------------SqrtFNode-------------------------------------- +// square root a float +class SqrtFNode : public Node { +public: + SqrtFNode(Compile* C, Node *c, Node *in1) : Node(c, in1) { + init_flags(Flag_is_expensive); + C->add_expensive_node(this); + } + virtual int Opcode() const; + const Type *bottom_type() const { return Type::FLOAT; } + virtual uint ideal_reg() const { return Op_RegF; } + virtual const Type* Value(PhaseGVN* phase) const; +}; + //-------------------------------ReverseBytesINode-------------------------------- // reverse bytes of an integer class ReverseBytesINode : public Node {