RFR: 8281375: Accelerate bitCount operation for AVX2 and AVX512 target. [v2]

Jatin Bhateja jbhateja at openjdk.java.net
Wed Feb 9 18:41:07 UTC 2022


On Wed, 9 Feb 2022 07:56:55 GMT, Eric Liu <eliu at openjdk.org> wrote:

>> Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8281375: Review comments resolved.
>
> src/hotspot/cpu/x86/matcher_x86.hpp line 194:
> 
>> 192:     }
>> 193:   }
>> 194: 
> 
> Could you explain more about the meaning of "cost" here? Should it be the actual count of instruction or latency?

Currently its a rough approximation of generated instruction size over X86 since its mainly used to influence SLP unrolling factor.

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

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


More information about the hotspot-compiler-dev mailing list