src/share/vm/opto/connode.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
6823354 Cdiff src/share/vm/opto/connode.hpp
src/share/vm/opto/connode.hpp
Print this page
rev 722 : [mq]: 6823354
*** 634,643 ****
--- 634,683 ----
virtual const Type *bottom_type() const { return TypeLong::LONG; }
virtual uint ideal_reg() const { return Op_RegL; }
virtual const Type* Value( PhaseTransform *phase ) const;
};
+ //---------- CountLeadingZerosINode --------------------------------------------
+ // Count leading zeros (0-bit count starting from MSB) of an integer.
+ class CountLeadingZerosINode : public Node {
+ public:
+ CountLeadingZerosINode(Node* in1) : Node(0, in1) {}
+ virtual int Opcode() const;
+ const Type* bottom_type() const { return TypeInt::INT; }
+ virtual uint ideal_reg() const { return Op_RegI; }
+ };
+
+ //---------- CountLeadingZerosLNode --------------------------------------------
+ // Count leading zeros (0-bit count starting from MSB) of a long.
+ class CountLeadingZerosLNode : public Node {
+ public:
+ CountLeadingZerosLNode(Node* in1) : Node(0, in1) {}
+ virtual int Opcode() const;
+ const Type* bottom_type() const { return TypeInt::INT; }
+ virtual uint ideal_reg() const { return Op_RegI; }
+ };
+
+ //---------- CountTrailingZerosINode -------------------------------------------
+ // Count trailing zeros (0-bit count starting from LSB) of an integer.
+ class CountTrailingZerosINode : public Node {
+ public:
+ CountTrailingZerosINode(Node* in1) : Node(0, in1) {}
+ virtual int Opcode() const;
+ const Type* bottom_type() const { return TypeInt::INT; }
+ virtual uint ideal_reg() const { return Op_RegI; }
+ };
+
+ //---------- CountTrailingZerosLNode -------------------------------------------
+ // Count trailing zeros (0-bit count starting from LSB) of a long.
+ class CountTrailingZerosLNode : public Node {
+ public:
+ CountTrailingZerosLNode(Node* in1) : Node(0, in1) {}
+ virtual int Opcode() const;
+ const Type* bottom_type() const { return TypeInt::INT; }
+ virtual uint ideal_reg() const { return Op_RegI; }
+ };
+
//---------- PopCountINode -----------------------------------------------------
// Population count (bit count) of an integer.
class PopCountINode : public Node {
public:
PopCountINode(Node* in1) : Node(0, in1) {}
src/share/vm/opto/connode.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File