This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] PowerPC sCC patterns
The mode test is because the SCC patterns that do not use CRs
often use carry, which only exists when mode matches Pmode. The EQ. LTU,
GTU test exists because those are the non-CR patterns supported by
PowerPC (POWER architecture was intentionally ignored to avoid complexity).
The revised cost model needs to preserve the existing costs for
arbitrary CONST_INT and add cases for any SCC comparison with const0_rtx.
David