This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r154099 - in /branches/transactional-memory/gcc...


Author: aldyh
Date: Wed Nov 11 18:54:00 2009
New Revision: 154099

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154099
Log:
	* trans-mem.c: Include params.h.  New global
	tm_log_must_generate_saves.
	(tm_log_entry): Add save_var entry.
	(tm_log_add): Initialize save_var.
	(tm_log_emit_stmt): New.
	(transaction_invariant_address_p): New.
	(tm_log_dump): Rename.  Handle transaction invariants.
	(tm_log_emit_saves): New.
	(tm_log_emit_restores): New.
	(tm_log_emit_save_or_restores): New.
	(execute_tm_mark): Call tm_log_emit.
	(expand_block_edges): Fix typo.
	(expand_tm_atomic): Emit save/restore sequences.
	(execute_tm_edges): Call htab_delete.
	* doc/invoke.texi: Document tm-max-aggregate-size.
	* builtin-types.def: Define BT_FN_VOID_VPTR_SIZE.
	* gtm-builtins.def: Define TM_LOG* builtins.
	* Makefile.in (trans-mem.o): Add PARAM_H dependency.
	* gimple.c (strip_invariant_refs): Unconstify.
	* gimple.h (strip_invariant_refs): Add prototype.
	* params.def: Define PARAM_TM_MAX_AGGREGATE_SIZE.

Added:
    branches/transactional-memory/gcc/testsuite/gcc.dg/tm/memopt-4.c
    branches/transactional-memory/gcc/testsuite/gcc.dg/tm/memopt-5.c
Modified:
    branches/transactional-memory/gcc/ChangeLog.tm
    branches/transactional-memory/gcc/Makefile.in
    branches/transactional-memory/gcc/builtin-types.def
    branches/transactional-memory/gcc/doc/invoke.texi
    branches/transactional-memory/gcc/gimple.c
    branches/transactional-memory/gcc/gimple.h
    branches/transactional-memory/gcc/gtm-builtins.def
    branches/transactional-memory/gcc/params.def
    branches/transactional-memory/gcc/testsuite/gcc.dg/tm/memopt-3.c
    branches/transactional-memory/gcc/trans-mem.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]