Exploit LCDFR/LPDFR/LNDFR instructions
| Bugzilla Link | 23419 |
| Resolution | FIXED |
| Resolved on | Nov 07, 2018 00:22 |
| Version | trunk |
| OS | Linux |
| CC | @JonPsson |
Extended Description
System z currently uses the IEEE-specific forms of LOAD COMPLEMENT, LOAD NEGATIVE and LOAD POSITIVE. However, in cases where we don't need the resulting condition codes, we can instead use the generic forms of those instructions (e.g. LCDFR instead of LCDBR).
To do so, we should always start by emitting the generic form, and if it turns out we can actually use the condition code, we can convert back to the IEEE-specific forms during the SystemZElimCompare pass by listing them in SystemZInstrInfo::getLoadAndTest.
Fixed.
commited as r249046
Have added general instructions for fp64 and fp32, and updated test cases. New test case. not yet commited.
assigned to @JonPsson