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.
duplicates
JDK-8336860x86: Change integer src operand for CMoveL of 0 and 1 to long