x86: Change integer src operand for CMoveL of 0 and 1 to long

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 24
    • Component/s: hotspot

      JDK-8283694 introduced flow-free encodings for CMoveI and CMoveL when moving constant 0 and 1 values on x86, by using SETcc. However, the long versions specify an integer immediate 1, so the instructions are never matched. To fix this, a long immediate 1 should be matched against instead.

            Assignee:
            Jasmine Karthikeyan
            Reporter:
            Jasmine Karthikeyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: