Replace testB_mem_imm matcher with testUB_mem_imm

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 12
    • Affects Version/s: 12
    • Component/s: hotspot
    • b20
    • generic
    • generic

      In JDK-8203628, Aleksey added matchers to generate testb instruction (on x86) for LoadB->AndI->CmpI sequence. However, in AndINode::Ideal() we transform any LoadB->AndI to LoadUB->AndI which fails to match this pattern. Which means we never actually match for testb. The original matchers for LoadUB->AndI->CmpI needed to be removed because of JDK-8204479.

            Assignee:
            Roman Kennke
            Reporter:
            Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: