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

Replace testB_mem_imm matcher with testUB_mem_imm

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: