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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: 19, 21, 24
    • Component/s: hotspot
    • b14

      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:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: