RFR: 8373722: [TESTBUG] compiler/vectorapi/TestVectorOperationsWithPartialSize.java fails intermittently [v2]
Jie Fu
jiefu at openjdk.org
Thu Dec 25 23:25:51 UTC 2025
On Thu, 25 Dec 2025 14:34:27 GMT, Eric Fang <erfang at openjdk.org> wrote:
> Vector reduction doesn’t provide a `sub` operation, so your example may not be the most appropriate one here. For subtraction, even a very narrow range of input values can lead to large differences. Do you perhaps have another example that might better illustrate the potential issues with the current test logic?
`a + b - b` can be regarded as `a + b + (-b)`.
So that's why I say it would fail with negative floats.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28960#issuecomment-3691814322
More information about the hotspot-compiler-dev
mailing list