Use AArch64 bit-test instructions in C2

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: 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,

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

              Created:
              Updated:
              Resolved: