RFR: 8256820: AArch64: Optimize vector rotate (immediate) with shift and insert instructions
Andrew Haley
aph at redhat.com
Mon Dec 14 10:04:49 UTC 2020
On 14/12/2020 06:02, Dong Bo wrote:
> The JMH micro `test/micro/org/openjdk/bench/java/lang/RotateBenchmark.java` is used for performance test.
> Witnessed ~15.4% performance improvements on Kunpeng920 (CPU tsv110), but ~15.8% regression on Kunpeng916 (CPU A72).
> So a switch `UseSIMDShiftInsertForRotation` is introduced on aarch64 with default value `false`, and set `true` for Kunpeng920.
I am seriously wondering if this change is worth doing. To find out,
we'd have to test on all of the different AArch64 systems in use.
--
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