[Bug target/26658] [4.0/4.1/4.2 Regression] perfomance regression between gcc 3.4.5 and 4.*

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jun 4 19:56:00 GMT 2006



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-06-04 19:54 -------
  for(uint32_t i = 0; i < Loops; i+=1)
  {
#define T memcpy(mb1, mb2, Block_Size); memset(mb2, i, Block_Size);
    T T T T T
    T T T T T
#undef T
  }

That should just reduce to
memcpy(mb1, mb2, Block_Size); memset(mb2, i, Block_Size);


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|regression                  |target
 GCC target triplet|                            |i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26658



More information about the Gcc-bugs mailing list