------- Comment #23 from hjl dot tools at gmail dot com 2010-08-17 03:46 ------- Created an attachment (id=21499) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21499&action=view) A different patch
We added the 2rd alternative to "*add<mode>_1" for Atom so that we always use add instead lea. It looks like a win for everyone. We can remove AGU check. As for ix86_lea_for_add_ok, it can be simpler. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44470