https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97786
--- Comment #6 from Segher Boessenkool <segher at gcc dot gnu.org> --- Hi Surya! Hrm yes, xststdcdp _does_ return a sign bit as well. Do we currently say that in RTL as well? Unfortunately we cannot just follow an xststdcdp by a setb, setb tests bit 1, but the tdp sets bit 2 only. But I'm sure whatever code we generate can be better than what we have now (mfcr? Is this compiled without any -mcpu= or something? But that cannot be true, we wouldn't get the tdc insn then either. There really should be some setbc or isel etc. insns).