------- Comment #12 from steven at gcc dot gnu dot org 2007-03-26 22:43 ------- Zdenek, what is the size heuristic for anyway? For powerpc, the current heuristic tells the compiler not to move any simple moves:
1) An invariant with a gain of 0 will not be moved. 2) gain = comp_cost - size_cost 3) comp_cost of a simple move is 4 4) all powerpc instructions have a size_cost of 4 (At least, the insns that map to a single machine insns have a size_cost of 4.) So we tell the compiler never to move simple moves for powerpc :-( -- steven at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.2.0 |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31360