[Bug middle-end/53535] non-aligned memset on non-strict-alignment targets not optimized where aligned memset is

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 31 04:37:00 GMT 2012


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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-31 04:32:00 UTC ---
>alignment of data should not make a difference for emitted code

Unless the loading of unalignment makes it much slower.  I thinking where two
aligned half loads are better than one unaligned word load.  I think there are
targets like that.



More information about the Gcc-bugs mailing list