RFR: 8278868: Add x86 vectorization support for Long.bitCount() [v2]

Vamsi Parasa duke at openjdk.java.net
Tue Dec 21 05:48:16 UTC 2021


On Tue, 21 Dec 2021 05:06:26 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> Vamsi Parasa has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add JMH micro benchmark to measure performance
>
> src/hotspot/share/opto/superword.cpp line 2951:
> 
>> 2949:   if (VectorNode::is_vpopcntq(use)) {
>> 2950:     // VPOPCNTQ takes longs and produces ints - hence the special checks
>> 2951:     // on alignment and size.
> 
> Use IR node reference instead of target specific instruction.

Thanks Jatin for noticing that! Will rename the functions to have generic names instead of target specific names. Will also modify the comment to be generic...

-------------

PR: https://git.openjdk.java.net/jdk/pull/6857


More information about the hotspot-compiler-dev mailing list