JDK-8003854 : PPC64 (part 115): expand nodes after register allocation
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: port-stage-ppc-aix
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2012-11-21
  • Updated: 2014-07-29
  • Resolved: 2013-11-15
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 8 JDK 9 Other
8u20Fixed 9Fixed port-stage-ppc-aixFixed
Description
This is preparation for PPC64 integration: http://openjdk.java.net/jeps/175 
This and following ppc64 changes will go into staging repository first and tested there: http://hg.openjdk.java.net/ppc-aix-port/stage/ 

Implement lateExpand that expands nodes after register allocation. 

http://hg.openjdk.java.net/ppc-aix-port/jdk8/hotspot/file/df79d76c17ab/ppc_patches/0115_8003850_opto-introduce_phase_lateExpand.patch

We proposed this change before:
http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2012-November/008909.html
 
The lateExpand phase in the C2 compiler expands nodes after Register allocation.
Some nodes can not be expanded during matching. E.g., register allocation
might not be able to deal with the resulting pattern. To allow better
scheduling in such cases, we introduce lateExpand which runs after
register allocation. Whether and how nodes are expanded is specified
in the ad-file. See block.cpp for a detailed documentation. We use this
for some nodes on ppc, and extensively on ia64.
  
In the mail cited above you find an example how to use late expand for the sparc.ad file.
and you see the code generated by adlc.