r181863 - in /trunk/libitm: ChangeLog beginend....
rth@gcc.gnu.org
rth@gcc.gnu.org
Wed Nov 30 22:29:00 GMT 2011
Author: rth
Date: Wed Nov 30 22:29:33 2011
New Revision: 181863
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181863
Log:
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.
Modified:
trunk/libitm/ChangeLog
trunk/libitm/beginend.cc
trunk/libitm/config/alpha/sjlj.S
trunk/libitm/config/x86/sjlj.S
trunk/libitm/libitm_i.h
More information about the Gcc-cvs
mailing list