This patch aims to spill CR[0-1]LT bits on POWER9 using the setb instruction.
The sequence on P9 to spill these bits will be:
setb %reg, %CRREG stw %reg, $FI
Instead of the typical sequence:
mfocrf %reg, %CRREG rlwinm %reg1, %reg, $SH, 0, 0 stw %reg1, $FI
The number of mfocrf instructions within SPEC 2017 decreases by ~2.6%.
I think this would benefit from a slightly more elaborate explanation. Perhaps: