--- old/src/hotspot/share/opto/intrinsicnode.hpp 2020-08-18 21:34:35.470936655 +0300 +++ new/src/hotspot/share/opto/intrinsicnode.hpp 2020-08-18 21:34:35.190967309 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -216,4 +216,21 @@ virtual uint ideal_reg() const { return Op_RegI; } }; +//------------------------------Signum------------------------------------------- +class SignumDNode : public Node { + public: + SignumDNode(Node* in) : Node(0, in) {} + virtual int Opcode() const; + virtual const Type *bottom_type() const { return Type::DOUBLE; } + virtual uint ideal_reg() const { return Op_RegD; } +}; + +class SignumFNode : public Node { + public: + SignumFNode(Node* in) : Node(0, in) {} + virtual int Opcode() const; + virtual const Type *bottom_type() const { return Type::FLOAT; } + virtual uint ideal_reg() const { return Op_RegF; } +}; + #endif // SHARE_OPTO_INTRINSICNODE_HPP