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

adlc generates wrong DFA

XMLWordPrintable

    • b49
    • generic
    • generic

      Cost tracking in adlc is misguided, causing a DFA to be emitted that is less desirable as defined by ins_cost() measurements.

      As an example, on x86, we are seeing many "movl reg,#0" instructions, where the costs in i486.ad file leads us to expect the lower cost "xor reg,reg" instead.

            rasbold Chuck Rasbold
            rasbold Chuck Rasbold
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: