--- a/src/hotspot/share/opto/convertnode.hpp Tue Oct 22 22:00:21 2019 -0400
+++ b/src/hotspot/share/opto/convertnode.hpp Tue Oct 22 21:26:45 2019 -0500
@@ -215,7 +215,13 @@
//-----------------------------RoundDoubleModeNode-----------------------------
class RoundDoubleModeNode: public Node {
public:
+ enum RoundingMode {
+ rmode_rint = 0,
+ rmode_floor = 1,
+ rmode_ceil = 2
+ };
RoundDoubleModeNode(Node *in1, Node * rmode): Node(0, in1, rmode) {}
+ static RoundDoubleModeNode* make(PhaseGVN& gvn, Node* arg, RoundDoubleModeNode::RoundingMode rmode);
virtual int Opcode() const;
virtual const Type *bottom_type() const { return Type::DOUBLE; }
virtual uint ideal_reg() const { return Op_RegD; }