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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 24
    • 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.

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

              Created:
              Updated:
              Resolved: