avr.c (out_movqi_mr_r): Fix length computation.

* config/avr/avr.c (out_movqi_mr_r): Fix length computation.

From-SVN: r183696
This commit is contained in:
Georg-Johann Lay 2012-01-30 10:08:25 +00:00 committed by Georg-Johann Lay
parent 5f8f0db63d
commit 733ccf098f
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-01-30 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr.c (out_movqi_mr_r): Fix length computation.
2012-01-29 Sandra Loosemore <sandra@codesourcery.com>
* doc/invoke.texi: Make usage of "compile time" and

View File

@ -3838,10 +3838,10 @@ out_movqi_mr_r (rtx insn, rtx op[], int *plen)
return "";
}
return avr_asm_len ("std %0,%1", op, plen, 1);
return avr_asm_len ("std %0,%1", op, plen, -1);
}
return avr_asm_len ("st %0,%1", op, plen, 1);
return avr_asm_len ("st %0,%1", op, plen, -2);
}
static const char*