r175714 - in /branches/transactional-memory/lib...
torvald@gcc.gnu.org
torvald@gcc.gnu.org
Thu Jun 30 17:11:00 GMT 2011
Author: torvald
Date: Thu Jun 30 17:11:41 2011
New Revision: 175714
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175714
Log:
New dispatch class/functions. Remove/disable old methods (readonly, wbetl).
* libitm_i.h: Move parts to common.h and dispatch.h.
* common.h: New file.
* dispatch.h: New file, new dispatch class.
Rename GTM::abi_dispatch::lock_type to ls_modifier.
RenameGTM::abi_dispatch::NOLOCK to NONTXNAL.
* beginend.cc (GTM::gtm_transaction::begin_transaction): Delegate mode
decision to retry.cc.
* retry.cc (GTM::gtm_transaction::decide_retry_strategy): Use serial mode
only.
(GTM::gtm_transaction::decide_begin_dispatch): Same.
* method-serial.cc: Adapt to new dispatch. Add serial mode with undo
logging.
* barrier.cc: Use new barriers definitions.
* config/x86/x86_sse.cc: Same.
* config/x86/x86_avx.cc: Same.
* Makefile.am: Don't build readonly and wbetl methods, memset.cc and
memcpy.cc.
* Makefile.in: Rebuild.
* method-readonly.cc: Remove.
* method-wbetl.cc: Rename GTM::abi_dispatch::lock_type to ls_modifier.
Rename GTM::abi_dispatch::NOLOCK to NONTXNAL.
Added:
branches/transactional-memory/libitm/common.h
- copied, changed from r175713, branches/transactional-memory/libitm/barrier.cc
branches/transactional-memory/libitm/dispatch.h
Removed:
branches/transactional-memory/libitm/method-readonly.cc
Modified:
branches/transactional-memory/libitm/Makefile.am
branches/transactional-memory/libitm/Makefile.in
branches/transactional-memory/libitm/barrier.cc
branches/transactional-memory/libitm/beginend.cc
branches/transactional-memory/libitm/config/x86/x86_avx.cc
branches/transactional-memory/libitm/config/x86/x86_sse.cc
branches/transactional-memory/libitm/libitm_i.h
branches/transactional-memory/libitm/method-serial.cc
branches/transactional-memory/libitm/method-wbetl.cc
branches/transactional-memory/libitm/retry.cc
More information about the Gcc-cvs
mailing list