> VectorOperators.ZOMO is specified as integral-only and is marked with > VO_NOFP. However, its special-case handling implementation in Float16Vector, > FloatVector, and DoubleVector ran before the normal opCode(op) validation, > allowing floating-point vectors to execute this unsupported operator. > > This change > (1) updates the ZOMO special-case fallback to integral vectors in > X-Vector.java.template and regenerates the affected floating-point vector > classes. Floating-point ZOMO operations now reach the normal compatibility > validation and throw UnsupportedOperationException, as specified. > Integral-vector behavior is unchanged. > ` X-Vector.java.template` > > (2) adds a -ve test coverage for Vector.lanewise operations (JDK-8389731) as > the unit. > > Unit-Lanewise-Unsupported.template > gen-template.sh > AbstractVectorTest.java > > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Xueming Shen has updated the pull request incrementally with one additional commit since the last revision: update the tests ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32498/files - new: https://git.openjdk.org/jdk/pull/32498/files/32f87280..d37548b4 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32498&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32498&range=00-01 Stats: 2244 lines in 39 files changed: 161 ins; 2053 del; 30 mod Patch: https://git.openjdk.org/jdk/pull/32498.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32498/head:pull/32498 PR: https://git.openjdk.org/jdk/pull/32498
