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

hp at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 31 07:09:00 GMT 2012


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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|non-aligned memset on       |non-aligned memset on
                   |non-strict-alignment        |non-strict-alignment
                   |!SLOW_UNALIGNED_ACCESS      |targets not optimized where
                   |targets not optimized where |aligned memset is
                   |aligned memset is           |

--- Comment #5 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-05-31 04:43:12 UTC ---
(In reply to comment #4)
> Well, yes, I missed adding !SLOW_UNALIGNED_ACCESS in the title. :)

Never mind, SLOW_UNALIGNED_ACCESS != 0 is much more severe than the cost of
single insns.  Bah.  Maybe this is an issue of missing cost metric.



More information about the Gcc-bugs mailing list