------- Comment #1 from rearnsha at gcc dot gnu dot org 2006-08-29 14:41 ------- The only reason for keeping the old predication-based code is that it can handle an important case that the generic code cannot. Specifically, it can conditionally skip a call to a function: this is not normally predicable since it clobbers the instruction codes. However, the arm-specific code knows that it is safe to do this iff the call instruction is the last instruction in the predicated sequence.
If the MI code could be made to handle cases where the predicate register was clobbered by the last predicable instruction, then the need to keep the existing MD code could disappear in a puff of smoke. -- rearnsha at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rearnsha at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28872