-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 15, 16
-
b04
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8266716 | 11.0.12 | Boris Ulasevich | P4 | Resolved | Fixed | b02 |
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
; 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
- backported by
-
JDK-8266716 IdealGraph bit check expression canonicalization
-
- Resolved
-
- relates to
-
JDK-8248568 compiler/c2/TestBit.java failed "RuntimeException: 'test' missing from stdout/stderr"
-
- Resolved
-