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.

Reply via email to