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

Emanuel Peter epeter at openjdk.org
Thu Oct 30 07:22:07 UTC 2025


On Wed, 29 Oct 2025 10:16:41 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

>> Another idea: use a return `Enum`. Then you can give things names, which can sometimes be more helpful than `true/false`.
>
> Hi @eme64 , I updated a commit which mainly changes the comments. The function name `mask_op_prefers_predicate` remains unchanged. After giving it careful thought overnight, I believe this name is more accurate. I’m sorry if my earlier explanation caused any confusion. Would you mind checking whether it's fine to you? Thanks!

Nice, it looks much better now, thanks for the updates :)

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

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


More information about the hotspot-compiler-dev mailing list