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,

        Activity

        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/f8261a6e2cb2
        User: kvn
        Date: 2015-12-02 01:55:29 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/f8261a6e2cb2 User: kvn Date: 2015-12-02 01:55:29 +0000
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/f8261a6e2cb2
        User: lana
        Date: 2015-12-16 19:10:45 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/f8261a6e2cb2 User: lana Date: 2015-12-16 19:10:45 +0000

          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: