[vectorIntrinsics] RFR: 8281562:[vectorapi] Add support for popcount operation
    Quan Anh Mai 
    duke at openjdk.java.net
       
    Thu Feb 10 01:22:17 UTC 2022
    
    
  
On Wed, 9 Feb 2022 23:18:59 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
>> 8281562:[vectorapi] Add support for popcount operation
>
> src/hotspot/share/prims/vectorSupport.cpp line 482:
> 
>> 480:       break;
>> 481:     }
>> 482:     case VECTOR_OP_POPCNT: {
> 
> Can the fall through ever occur? since the operation is only supported for `int` and `long`.
It is also wrong, you can't use the scalar `PopCountI` on byte and short
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/173
    
    
More information about the panama-dev
mailing list