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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 19, 21, 24
    • 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.

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

              Created:
              Updated:
              Resolved: