]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/xtensa/lib1funcs.asm (__umulsidi3): Restore a12-a15 on exit.
authorBob Wilson <bob.wilson@acm.org>
Tue, 28 Nov 2006 21:22:14 +0000 (21:22 +0000)
committerBob Wilson <bwilson@gcc.gnu.org>
Tue, 28 Nov 2006 21:22:14 +0000 (21:22 +0000)
From-SVN: r119296

gcc/ChangeLog
gcc/config/xtensa/lib1funcs.asm

index 5ec596685688e90fb8be627bc8b6defba35fb161..fb467916700b930724eab10ba0914c93bdd7af93 100644 (file)
@@ -1,3 +1,7 @@
+2006-11-28  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/lib1funcs.asm (__umulsidi3): Restore a12-a15 on exit.
+
 2006-11-28  Jan Hubicka  <jh@suse.cz>
 
        Privatize SSA variables into gimple_df.
index 9b9efa87be7ed4ded953559a62fb51184f16a2c0..5b4f8c84917b65aa0bddf3c02dee7c27ab227cfe 100644 (file)
@@ -326,6 +326,13 @@ __umulsidi3:
 #if !XCHAL_HAVE_MUL16 && !XCHAL_HAVE_MUL32 && !XCHAL_HAVE_MAC16
        /* Restore the original return address.  */
        l32i    a0, sp, 0
+#endif
+#if __XTENSA_CALL0_ABI__
+       l32i    a12, sp, 16
+       l32i    a13, sp, 20
+       l32i    a14, sp, 24
+       l32i    a15, sp, 28
+       addi    sp, sp, 32
 #endif
        leaf_return