On Tue, 18 Aug 2026 01:51:57 GMT, Xueming Shen <[email protected]> wrote:
> 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). Thanks for the fix! ------------- Marked as reviewed by erfang (Author). PR Review: https://git.openjdk.org/jdk/pull/32409#pullrequestreview-4956622752
