Details
-
Bug
-
Resolution: Fixed
-
P2
-
16, 17, 18
-
b31
-
ppc
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8270052 | 18 | Martin Doerr | P2 | Resolved | Fixed | b06 |
JDK-8270728 | 17.0.1 | Martin Doerr | P2 | Resolved | Fixed | b03 |
Description
The test api/java_lang/Math/rintround is failing on PPC64 platforms when running with -Xcomp -XX:-TieredCompilation.
C2 uses frin and xvrdpi instructions which don't use the required rounding mode. Rounding mode "RoundToDPIntegerNearEven" needs to be used. See
https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#rint-double-
C2 uses frin and xvrdpi instructions which don't use the required rounding mode. Rounding mode "RoundToDPIntegerNearEven" needs to be used. See
https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#rint-double-
Attachments
Issue Links
- backported by
-
JDK-8270052 [PPC64] C2: Math.rint intrinsic uses wrong rounding mode
- Resolved
-
JDK-8270728 [PPC64] C2: Math.rint intrinsic uses wrong rounding mode
- Resolved
- relates to
-
JDK-8231649 PPC64: Intrinsics for Math.ceil, floor, rint on Power
- Resolved