------- Comment #21 from hjl dot tools at gmail dot com 2010-08-17 00:11 ------- (In reply to comment #19) > Created an attachment (id=21497) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21497&action=view) [edit] > A patch which should produce more add insns > > In other words, don't we at least need this patch to avoid generating > unnecessary leas? > > But still, alternative 2 of addsi_1 looks extremely ugly, and I think the code > before revision 160557 made more sense. What exactly was wrong with it? >
Do you have a testcase to show how it changes the generated assembly codes? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44470