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

Replace testB_mem_imm matcher with testUB_mem_imm

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 12
    • 12
    • 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.

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

              Created:
              Updated:
              Resolved: