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

IdealGraph bit check expression canonicalization

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15, 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b04

      Description

      Using TBZ instruction can improve performance in some cases:
        ; org.apache.lucene.analysis.standard.StandardTokenizerImpl::getNextToken (line 917)
        ; if ( (zzAttributes & 1) == 1 ) {
        ;
        0x0000ffffa8ab2658: and w1, w18, #0x1
        0x0000ffffa8ab265c: cmp w1, #0x1
        0x0000ffffa8ab2660: b.ne 0x0000ffffa8ab278c
      =>
        0x0000ffffa8ab2658: tbz w18, #0, 0x0000ffffa8ab278c

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bulasevich Boris Ulasevich
                Reporter:
                bulasevich Boris Ulasevich
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: