RFR: Add support of lzcnt and tzcnt

Igor Veresov igor.veresov at oracle.com
Mon Nov 17 21:46:12 UTC 2014


Alright, makes sense. So, I guess, I have to propagate hotspot switches like UseCount{Leading, Trailing} ZerosInstruction into AMD64 (a subclass of Architecture), right?

igor


> On Nov 17, 2014, at 1:04 PM, Christian Wimmer <christian.wimmer at oracle.com> wrote:
> 
>>      "com.oracle.graal.replacements.amd64" : {
>> -      "dependencies" : ["com.oracle.graal.replacements"],
>> +      "dependencies" : [
>> +          "com.oracle.graal.hotspot"
>> +          ],
> 
> That adds a dependency from a VM-independent project to a HotSpot project - so while you can do that technically (as long as you do not introduce a cyclic dependency), it violates the Compiler-VM separation.
> 
> -Christain
> 



More information about the graal-dev mailing list