JDK-8028401 : PPC64 (part 117): Improve usability of adlc and format() functionality.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: port-stage-ppc-aix
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: ppc
  • Submitted: 2013-11-14
  • 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
Improve usability of adlc:
So far, expands can only use instructs that are specified further up in the .ad file.
This is because the check whether nodes used in the expand are also defined 
is done during parsing.  
Move this check to a later point to relax ordering constraints.

Add a row of additional, more verbose Syntax checks.

Improve format():
If MachNode::format() is called before constants are written to the
constants section, it can fail. Add a safer version of constant_offset 
to avoid this.


---------------------------- 

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/

http://hg.openjdk.java.net/ppc-aix-port/jdk8/hotspot/file/338e318f1e12/ppc_patches/0117_opto-Improve_adlc_usability.patch