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

Jatin Bhateja jbhateja at openjdk.java.net
Tue Dec 21 06:50:15 UTC 2021


On Tue, 21 Dec 2021 04:53:29 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/vectornode.hpp line 517:
> 
>> 515: };
>> 516: 
>> 517: //------------------------------SqrtVFNode--------------------------------------
> 
> I think we can remove "I" specialization from existing PopCountVI and make the IR node generic.  It already has a type which should be sufficient to emit type specific instruction. There are many vector node which are common across types.

Since its already supported by AARCH64/PPC so we can keep your existing changes as is.

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

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


More information about the hotspot-compiler-dev mailing list