Strict assertion added to jdk.incubator.vector.CPUFeatures does not take into account MaxVectorSize settings. As a result we observer serval VectorAPI VectorMathLibrary test failures when MaxVectorSize is smaller than vector size supported by target.
Patch removes these assertions, all vector API tests are passing with smaller MaxVectorSize with assertions enabled (-ea -es). Kindly review and share your feedback. Best Regards, Jatin ------------- Commit messages: - 8367761: [VectorAPI] AssertionError with several vector API mathlib tests with MaxVectorSize=32 Changes: https://git.openjdk.org/jdk/pull/30015/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30015&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8367761 Stats: 3 lines in 1 file changed: 0 ins; 3 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/30015.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30015/head:pull/30015 PR: https://git.openjdk.org/jdk/pull/30015
