git: openjdk/jdk: master: 8356760: VectorAPI: Optimize VectorMask.fromLong for all-true/all-false cases

Jatin Bhateja jbhateja at openjdk.org
Sat Aug 2 07:56:32 UTC 2025


Changeset: f40381e4
Branch: master
Author:    erfang <erfang at nvidia.com>
Committer: Jatin Bhateja <jbhateja at openjdk.org>
Date:      2025-08-02 07:54:42 +0000
URL:       https://git.openjdk.org/jdk/commit/f40381e41d1356f92546a21c0d24060f8606b9b3

8356760: VectorAPI: Optimize VectorMask.fromLong for all-true/all-false cases

Reviewed-by: xgong, jbhateja

! src/hotspot/share/opto/vectorIntrinsics.cpp
! src/hotspot/share/opto/vectornode.cpp
! src/hotspot/share/opto/vectornode.hpp
! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java
+ test/hotspot/jtreg/compiler/vectorapi/VectorMaskCastIdentityTest.java
+ test/hotspot/jtreg/compiler/vectorapi/VectorMaskFromLongTest.java
+ test/hotspot/jtreg/compiler/vectorapi/VectorMaskToLongTest.java
! test/micro/org/openjdk/bench/jdk/incubator/vector/MaskCastOperationsBenchmark.java
+ test/micro/org/openjdk/bench/jdk/incubator/vector/MaskFromLongToLongBenchmark.java



More information about the jdk-changes mailing list