------- Additional Comments From dje at watson dot ibm dot com 2004-11-24 15:21 ------- Subject: Re: PowerPC - Unnecessary rldicl
The test for mode == Pmode is present because most of the fast scc patterns depend on carry. PowerPC carry depends on the mode of the processor. If the mode of the comparison is not the mode of the processor (Pmode), the scc patterns cannot be applied and the modified cost should not be applied. Similarly, only EQ, GTU, and LTU costs are handled because those are the fast scc patterns active for PowerPC. I did not include the costs for the original POWER architecture. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16800