RFR: 8373722: [TESTBUG] compiler/vectorapi/TestVectorOperationsWithPartialSize.java fails intermittently
Xiaohong Gong
xgong at openjdk.org
Wed Dec 24 09:32:02 UTC 2025
On Wed, 24 Dec 2025 06:13:53 GMT, Jie Fu <jiefu at openjdk.org> wrote:
> > I think we should refer to the java ref spec, that calculates the values in sequential order, right?
>
> I'm not sure. Did you find related description in the spec?
>
> If that is true, the current sum-based `Math.ulp(0.0f) * 10` is far from `1000.0f`, which seems unreasonable.
I used the Java Playground, and see the result:
<img width="851" height="292" alt="image" src="https://github.com/user-attachments/assets/97df9f22-f9c7-42dd-8764-2d7142e84a3c" />
So that's just the issue that I want to avoid. We didn't have a more reasonable golden value as we do not know the calculation order in Vector API, right?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28960#issuecomment-3689239304
More information about the hotspot-compiler-dev
mailing list