JDK-8343689 : AArch64: Optimize MulReduction implementation
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 24
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: aarch64
  • Submitted: 2024-11-06
  • Updated: 2025-11-20
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.
Other
tbdUnresolved
Related Reports
Duplicate :  
Relates :  
Description
Currently our AArch64 backend only supports MulReduction for 64/128 bits vectors by using scalar instructions instead, as it's missing corresponding vector instruction. That's caused a performance gap.

To clarify, the goal of this ticket is to improve the performance of mul reduction VectorAPI operations on SVE-capable platforms with vector lengths greater than 128 bits (e.g., Neoverse V1). The core issue is that these APIs are not being lowered to any AArch64 implementation at all on such platforms. Instead, the fallback Java implementation is used.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/23181 Date: 2025-01-17 19:35:44 +0000
17-01-2025

A pull request was submitted for review. Branch: vectorIntrinsics URL: https://git.openjdk.org/panama-vector/pull/225 Date: 2025-01-14 17:21:02 +0000
14-01-2025