Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8028401

PPC64 (part 117): Improve usability of adlc and format() functionality.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • port-stage-ppc-aix
    • port-stage-ppc-aix
    • hotspot
    • None

        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

              goetz Goetz Lindenmaier
              goetz Goetz Lindenmaier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: