------- Comment #2 from hjl dot tools at gmail dot com 2008-09-04 16:13 ------- (In reply to comment #1) > "-O2 -march=core2 -fno-ira -fno-regmove" generates > > movq x(%rip), %mm0 > paddd y(%rip), %mm0 > movq %mm0, -8(%rsp) > movq -8(%rsp), %rax > > It seems that regmove isn't effective for IRA. >
regmove is turned off for IRA. Revert the regmove.c change in revision 139590 * regmove.c (regmove_optimize): Don't do replacement of output for IRA. fixes this regression. Vladimir, IRA should either deal with replacement of output or let regmove handle it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37364