Withdrawn: 8333343: [REDO] AArch64: optimize integer remainder

duke duke at openjdk.org
Thu Aug 1 12:11:40 UTC 2024


On Thu, 30 May 2024 05:33:00 GMT, Jin Guojie <duke at openjdk.org> wrote:

> On some Arm processors, a separate multiply/subtract is actually faster than the combined instruction.
> 
> (1) The following test has passed, which shows performance improvement.
> 
> make test TEST="micro:java.lang.IntegerDivMod"
> make test TEST="micro:java.lang.LongDivMod"
> 
> * IntegerDivMod.testDivideRemainderUnsigned baseline(ns/ops) 2223 with this pacth(ns/ops) 1885 improvement(%) 17.93%
> 
> * IntegerDivMod.testRemainderUnsigned baseline(ns/ops) 2225 with this pacth(ns/ops) 1885 improvement(%) 18.03%
> 
> * LongDivMod.testDivideRemainderUnsigned baseline(ns/ops) 2231 with this pacth(ns/ops) 1894 improvement(%) 17.79%
> 
> * LongDivMod.testRemainderUnsigned baseline(ns/ops) 2232 with this pacth(ns/ops) 1891 improvement(%) 18.03%
> 
> (2) jtreg test has passed
> 
> make run-test  TEST=tier1

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/jdk/pull/19471


More information about the hotspot-dev mailing list