1 --- trunk/gcc/config/arm/arm.c 2006/09/19 13:18:27 117055
2 +++ trunk/gcc/config/arm/arm.c 2006/09/19 13:19:24 117056
3 @@ -15415,6 +15415,15 @@
4 /* Move from sp to reg. */
5 asm_fprintf (asm_out_file, "\t.movsp %r\n", REGNO (e0));
7 + else if (GET_CODE (e1) == PLUS
8 + && GET_CODE (XEXP (e1, 0)) == REG
9 + && REGNO (XEXP (e1, 0)) == SP_REGNUM
10 + && GET_CODE (XEXP (e1, 1)) == CONST_INT)
12 + /* Set reg to offset from sp. */
13 + asm_fprintf (asm_out_file, "\t.movsp %r, #%d\n",
14 + REGNO (e0), (int)INTVAL(XEXP (e1, 1)));