[Bug rtl-optimization/50088] movzbl is generated instead of movl

enkovich.gnu at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 16 07:31:00 GMT 2011


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

--- Comment #9 from Ilya Enkovich <enkovich.gnu at gmail dot com> 2011-08-16 07:28:33 UTC ---
(In reply to comment #5)
> 
> It is for movqi.  We can only safely replace mozbl with movl if
> the source is 4byte aligned.  It should a new backend option.

That should work. 

A better solution here would be to not generate movqi at all. But probably it
was performed intentionally and is profitable for some platforms. In this case
we should choose movl generation for movqi.



More information about the Gcc-bugs mailing list