From b6334cf4bbf19668d1a5626e651653e6318f3ba0 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 24 Jul 2014 19:58:06 -0700 Subject: [PATCH] libitm: Improve aarch64 _ITM_beginTransaction * config/aarch64/sjlj.S (_ITM_beginTransaction): Use post-inc addressing mode in epilogue. From-SVN: r213035 --- libitm/ChangeLog | 5 +++++ libitm/config/aarch64/sjlj.S | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libitm/ChangeLog b/libitm/ChangeLog index 17bb0a66448..ce1cc219ae2 100644 --- a/libitm/ChangeLog +++ b/libitm/ChangeLog @@ -1,3 +1,8 @@ +2014-07-24 Richard Henderson + + * config/aarch64/sjlj.S (_ITM_beginTransaction): Use post-inc + addressing mode in epilogue. + 2014-05-28 Rainer Orth * acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): Check for diff --git a/libitm/config/aarch64/sjlj.S b/libitm/config/aarch64/sjlj.S index 4207da96638..77118dd4744 100644 --- a/libitm/config/aarch64/sjlj.S +++ b/libitm/config/aarch64/sjlj.S @@ -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)