[Bug rtl-optimization/31849] Code size regression caused by fix to PR 31360

2007-05-06 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-05-07 02:36 --- > 1) Hoists a register containing 0 out of the loop The correct thing to do. >2) Uses that *only* as a copy into another register (mov reg, #0 costs exactly the same as mov reg, reg) Interesting, but this is also tru

[Bug rtl-optimization/31849] Code size regression caused by fix to PR 31360

2007-05-06 Thread rearnsha at gcc dot gnu dot org
--- Comment #1 from rearnsha at gcc dot gnu dot org 2007-05-07 01:06 --- Created an attachment (id=13520) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13520&action=view) source code showing regression compiled code for this file regresses by approximately 3% -- http://gcc.g