]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libitm: Improve aarch64 _ITM_beginTransaction
authorRichard Henderson <rth@redhat.com>
Fri, 25 Jul 2014 02:58:06 +0000 (19:58 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 25 Jul 2014 02:58:06 +0000 (19:58 -0700)
        * config/aarch64/sjlj.S (_ITM_beginTransaction): Use post-inc
        addressing mode in epilogue.

From-SVN: r213035

libitm/ChangeLog
libitm/config/aarch64/sjlj.S

index 17bb0a66448bc1108694fac8490d85ab28c75b62..ce1cc219ae21010aceee78468d825158fc045c91 100644 (file)
@@ -1,3 +1,8 @@
+2014-07-24  Richard Henderson  <rth@redhat.com>
+
+       * config/aarch64/sjlj.S (_ITM_beginTransaction): Use post-inc
+       addressing mode in epilogue.
+
 2014-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): Check for
index 4207da96638d7e920637e4118ac8ba949b0a3b3d..77118dd47442096c7a935887d5cf5a422448d239 100644 (file)
@@ -53,8 +53,7 @@ _ITM_beginTransaction:
        bl      GTM_begin_transaction
 
        /* Return; we don't need to restore any of the call-saved regs.  */
-       ldp     x29, x30, [sp]
-       add     sp, sp, #11*16
+       ldp     x29, x30, [sp], 11*16
        cfi_adjust_cfa_offset(-11*16)
        cfi_restore(x29)
        cfi_restore(x30)