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

IdealGraph bit check expression canonicalization

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b04

      Backports

        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:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: