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

Use AArch64 bit-test instructions in C2

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • hotspot
    • None
    • b97
    • aarch64

      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,

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

              Created:
              Updated:
              Resolved: