RFR: 8367292: VectorAPI: Optimize VectorMask.fromLong/toLong() for SVE [v3]

erifan duke at openjdk.org
Fri Oct 24 09:04:16 UTC 2025


On Fri, 24 Oct 2025 08:56:35 GMT, erifan <duke at openjdk.org> wrote:

>> What about `prefers` instead of `uses`? Or `should_use`?
>
> I don't know where there is such a comment, if no, maybe this function is a good place to comment this.
> 
> Also I wonder if it's better to return an enum constant? For example:
> 
> PREDICATE_MASK
> PACKED_MASK
> UNPACKED_MASK

By the way, I'm fine to the current implementation. Thanks

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27481#discussion_r2459421864


More information about the hotspot-compiler-dev mailing list