gcc/libitm/config
Richard Henderson 062f93f255 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
2011-11-30 14:29:33 -08:00
..
alpha Swap the action and jmpbuf arguments to GTM_longjmp 2011-11-30 14:29:33 -08:00
generic Support libitm on Solaris 8 and 9/x86 with Sun as 2011-11-18 16:15:59 +00:00
linux Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
posix libitm: Remove unused code. 2011-11-09 14:54:55 -08:00
x86 Swap the action and jmpbuf arguments to GTM_longjmp 2011-11-30 14:29:33 -08:00