RFR: Add support of lzcnt and tzcnt
Tom Rodriguez
tom.rodriguez at oracle.com
Mon Nov 17 23:49:12 UTC 2014
They are used through the reflective NodeIntrinsic construction. The “create" factory methods are leftovers from the experiment with more annotation based node generation which required factories.
tom
On Nov 17, 2014, at 3:44 PM, Igor Veresov <igor.veresov at oracle.com> wrote:
>
>>>
>>> Updated webrev: http://cr.openjdk.java.net/~iveresov/lztzcnt/webrev.01/ <http://cr.openjdk.java.net/~iveresov/lztzcnt/webrev.01/>
>>
>> Where are the create methods used?
>>
>> + public static AMD64CountLeadingZerosNode create(ValueNode value) {
>> + return new AMD64CountLeadingZerosNode(value);
>> + }
>> + public static AMD64CountTrailingZerosNode create(ValueNode value) {
>> + return new AMD64CountTrailingZerosNode(value);
>> + }
>
> They are not used indeed. I thought it was some sort of convention (is it not?) since they are in BitScan{Froward,Reverse}Nodes but not used as well.
>
> igor
More information about the graal-dev
mailing list