[vectorIntrinsics] RFR: 8283709: Add x86 back-end implementation for bit BIT_COUNT operation [v8]

Jatin Bhateja jbhateja at openjdk.java.net
Tue Apr 12 01:54:47 UTC 2022


On Fri, 8 Apr 2022 23:47:33 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:

>> Jatin Bhateja has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 10 commits:
>> 
>>  - 8283709: Review comments resolved.
>>  - Merge branch 'vectorIntrinsics' of http://github.com/openjdk/panama-vector into JDK-8283709
>>  - 8283709: Integer.bitCount((int)(byte_val) & 0xFF) is folded as LoadUB, this is auto-vectorized as load from Boolean vector. Adding missing types in macroassembler to cover these cases.
>>  - 8283709: Removed redundant downcasting operation needed only for auto-vectorized generated IR.
>>  - 8283709: Removing redundant flags operands.
>>  - 8283709: Adding predicated vector popcount patterns for applicable targets.
>>  - 8283709: Adding new CPU feature AVX512_BITALG to JVMCI feature set.
>>  - 8283709: Adding type specific check in PopCountVI cost model.
>>  - 8283709: Updating PopCountVI instruction size cost model.
>>  - 8283709: Add x86 back-end implementation for bit BIT_COUNT operation
>
> Other than couple of comments above, rest of the patch looks good to me.

@sviswa7 , your closing comments addressed.

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

PR: https://git.openjdk.java.net/panama-vector/pull/185


More information about the panama-dev mailing list