-
Bug
-
Resolution: Fixed
-
P5
-
17, 21, 22
-
b21
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8332867 | 21.0.5-oracle | Mimoun Ghordou | P5 | Resolved | Fixed | b01 |
JDK-8334789 | 21.0.5 | Amos SHI | P5 | Resolved | Fixed | b01 |
JDK-8333451 | 17.0.13-oracle | Mimoun Ghordou | P5 | Resolved | Fixed | b01 |
JDK-8339014 | 17.0.13 | Amos SHI | P5 | Resolved | Fixed | b05 |
The jtreg tests for these operations do not take this into account, and they test for exact equality of the results with the Java reference implementation. The current version of C2 generates code that matches the results of the Java reference implementation. Future versions of C2, or alternative compilers, can generate more efficient machine code sequences that do not match this reference value exactly.
The tests in test/jdk/jdk/incubator/vector should be changed to allow the result of floating point reductions with ADD or MUL to differ from the reference value by some small relative error, such as 0.1%.
- backported by
-
JDK-8332867 Vector API FP reduction tests should not test for exact equality
- Resolved
-
JDK-8333451 Vector API FP reduction tests should not test for exact equality
- Resolved
-
JDK-8334789 Vector API FP reduction tests should not test for exact equality
- Resolved
-
JDK-8339014 Vector API FP reduction tests should not test for exact equality
- Resolved
- relates to
-
JDK-8309647 [Vector API] Move Reduction outside loop when possible
- Open
- links to
-
Commit openjdk/jdk21u-dev/d8a00dae
-
Commit openjdk/jdk/e6f23a90
-
Commit(master) openjdk/jdk17u-dev/03cbfaa7
-
Review openjdk/jdk21u-dev/750
-
Review openjdk/jdk/16024
-
Review(master) openjdk/jdk17u-dev/2768