OSDN Git Service

* config/xtensa/lib1funcs.asm (__umulsidi3): Restore a12-a15 on exit.
authorbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Nov 2006 21:22:14 +0000 (21:22 +0000)
committerbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Nov 2006 21:22:14 +0000 (21:22 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119296 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 5ec5966..fb46791 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 9b9efa8..5b4f8c8 100644 (file)
@@ -327,6 +327,13 @@ __umulsidi3:
        /* 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
 
 #if !XCHAL_HAVE_MUL16 && !XCHAL_HAVE_MUL32 && !XCHAL_HAVE_MAC16