Aarch64: optimation for doing remainder on AArch64

Andrew Haley aph-open at littlepinkcloud.com
Mon Apr 15 15:46:22 UTC 2024


On 4/15/24 10:45, Jin Guojie wrote:
> In the source code directory of the jdk class library, we found multiple files that use the remainder operation.
> 
> Some of them are listed as follows:

Yes, but many of them don't actually do any division. Nonetheless, OK,
a 15% speed improvement for integer modulo is worth having.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the hotspot-dev mailing list