VectorOperators.DIV is documented as “Floating only,” but the operator is 
supported/implemented for all numeric vector lane types: byte, short, int, 
long, Float16, float, and double, including masked operations.

1) DIV is declared with VO_ALL, meaning all supported lane types.
2) Byte, short, int, and long vectors all implement signed division fallbacks.
3) Named Vector.div(...) methods document integral divide-by-zero behavior.
4) Masked division only checks selected lanes for zero and suppresses 
inactive-lane division.
5) Existing generated tests cover integral masked and unmasked division.
6) C2 maps integral DIV to integer division IR nodes (VectorDivTest.java/line 
110?).

This is a doc-only change to remove the incorrect “Floating only” 
qualification. No implementation or behavioral change is introduced.
Existing generated Vector API tests cover masked and unmasked division across 
all lane types and vector species, including integral divide-by-zero behavior.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8387798: VectorAPI: VectorOperators.DIV javadoc incorrectly says Floating 
only

Changes: https://git.openjdk.org/jdk/pull/32409/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32409&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8387798
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/32409.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32409/head:pull/32409

PR: https://git.openjdk.org/jdk/pull/32409

Reply via email to