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

aarch64: combine andr+cbnz into tbnz when possible

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b21
    • CPU:
      aarch64
    • OS:
      linux

      Description

      Still exists some combine opportunities like this in the aarch64 hotspot runtime, one example:

       - __ andr(rscratch1, tmp, TypeEntries::type_unknown);
       - __ cbnz(rscratch1, next); // already unknown. Nothing to do anymore.
       + __ tbnz(tmp, exact_log2(TypeEntries::type_unknown), next); // already unknown. Nothing to do anymore.

        Attachments

          Activity

            People

            Assignee:
            fyang Fei Yang
            Reporter:
            fyang Fei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: