]> git.ipfire.org Git - thirdparty/gcc.git/commit - libitm/ChangeLog
Swap the action and jmpbuf arguments to GTM_longjmp
authorRichard Henderson <rth@redhat.com>
Wed, 30 Nov 2011 22:29:33 +0000 (14:29 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 30 Nov 2011 22:29:33 +0000 (14:29 -0800)
commit062f93f255e4b793edb00849336bf6c4e8239b6e
tree9f60b09cc1447fb54c59835052aa947c7643e8ec
parentc08472eaf611a76fa2545b5a45f32d274ac0d25d
Swap the action and jmpbuf arguments to GTM_longjmp

On several ABIs, the first register parameter is the same as
the return value register.  Moving the action parameter first
avoids the need for register shuffling on these targets.

        * libitm_i.h (GTM_longjmp): Swap first and second arguments.
        * beginend.c (_ITM_abortTransaction): Update to match.
        (GTM::gtm_thread::restart): Likewise.
        * config/alpha/sjlj.S (GTM_longjmp): Likewise.
        * config/x86/sjlj.S (GTM_longjmp): Likewise.

From-SVN: r181863
libitm/ChangeLog
libitm/beginend.cc
libitm/config/alpha/sjlj.S
libitm/config/x86/sjlj.S
libitm/libitm_i.h