This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/49865] Unnecessary reload causes small size regression from 4.6.1


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

--- Comment #1 from sgunderson at bigfoot dot com 2011-07-27 11:38:57 UTC ---
(In reply to comment #0)
> Of course, the _most_ efficient code sequence here would be doing the i = 0
> before the memset, but I'm not sure if this is legal. However, eax should still
> contain zero, so the mov could be done from eax instead of from a constant.

Actually, thinking about it, the most efficient code sequence would be just
giving 4100 to memset instead of 4096, but that's for an enhancement request at
some point.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]