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

Use AArch64 bit-test instructions in C2

    Details

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

      Description

      AArch64 has some bit-test instructions: TBZ/TBNZ, TST/TSTW. They save an instruction over cmp; branch and do not clobber the flags register. We should use these for bit tests and integer positive/negative tests,

        Attachments

          Activity

            People

            • Assignee:
              aph Andrew Haley
              Reporter:
              aph Andrew Haley
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: