JDK-8331558 : AArch64: optimize integer remainder
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2024-05-02
  • Updated: 2024-05-31
  • Resolved: 2024-05-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 23
23 b23Fixed
Related Reports
Cloners :  
Relates :  
Relates :  
Description
On some Arm processors, a separate multiply/subtract is actually faster than the combined instruction. We should detect such processors and do the fastest thing.
Comments
on a related note, I do think a "fix failed" resolution is warranted in JBS. Almost nobody checks the "verification" field when querying for bug fixes in e.g. JDK 23. this fix may well end up in the "JDK 23 fixes" page (depending on how the filters are written) e.g. see bug number 67 at https://www.oracle.com/java/technologies/javase/21-0-2-relnotes.html (an entry for a bug fix that was backed out)
30-05-2024

I agree that the proper "verification" state for this RFE is "Fix Failed".
30-05-2024

[~aph] I think "Fix Failed" was an appropriate verification of this issue given that it was backed out. But regardless of that, when reopening and closing issues like this to fix various problems, please make sure to restore the "Resolved in Build" value as well.
30-05-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19471 Date: 2024-05-30 05:33:00 +0000
30-05-2024

This change was effectively backed out by JDK-8332066.
13-05-2024

Math tests failing. Logged JDK-8332066
10-05-2024

Changeset: dab92c51 Author: 释天 <jinguojie.jgj@alibaba-inc.com> Committer: Eric Liu <eliu@openjdk.org> Date: 2024-05-10 10:01:40 +0000 URL: https://git.openjdk.org/jdk/commit/dab92c51c70767abcda3b1a91dd7d1a9b40290c1
10-05-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19093 Date: 2024-05-06 01:30:45 +0000
06-05-2024