[vectorIntrinsics+mask] RFR: 8273949: Intrinsic creation for VectorMask.toLong operation. [v3]

Sandhya Viswanathan sviswanathan at openjdk.java.net
Wed Sep 22 16:20:26 UTC 2021


On Wed, 22 Sep 2021 08:18:09 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> src/hotspot/share/prims/vectorSupport.cpp line 441:
>> 
>>> 439:         case T_FLOAT: // fall-through
>>> 440:         case T_DOUBLE: return Op_VectorMaskToLong;
>>> 441:         default: fatal("MASK_TRUECOUNT: %s", type2name(bt));
>> 
>> MASK_TOLONG here? Also break is missing.
>
> This is consistent with other case statements.

default: fatal("MASK_TRUECOUNT: %s", type2name(bt));
should refer to MASK_TOLONG.

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

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


More information about the panama-dev mailing list