JDK-8346993 : C2 SuperWord: refactor to make more vector nodes available in VectorNode::make
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 24,25
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-01-03
  • Updated: 2025-01-07
  • Resolved: 2025-01-07
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 25
25 masterFixed
Description
Currently, some nodes are only generated in their dedicated methods:
- VectorNode::shift_count
  - LShiftCntVNode
  - RShiftCntVNode
- VectorCastNode::make
  - Vector(U)Cast...
- VectorBlendNode has no corresponding "factory" method.

The goal is to have all available under VectorNode::make, so that they can be generated simply with the vector opcode. This is helpful for the plans with the cost-model, where the VTransform nodes will only carry the vector-opc.
Comments
Changeset: 08debd33 Branch: master Author: Emanuel Peter <epeter@openjdk.org> Date: 2025-01-07 06:15:48 +0000 URL: https://git.openjdk.org/jdk/commit/08debd335e9160d20b87e06a2e83ddedd5f473b8
07-01-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22917 Date: 2025-01-03 15:44:02 +0000
06-01-2025