This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r154307 - in /branches/transactional-memory/gcc...
- From: aldyh at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 18 Nov 2009 21:01:22 -0000
- Subject: r154307 - in /branches/transactional-memory/gcc...
Author: aldyh
Date: Wed Nov 18 21:01:22 2009
New Revision: 154307
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154307
Log:
* trans-mem.c: Remove tm_log_must_generate_saves.
Add tm_log_save_addresses.
(tm_log_init): Initialize vector.
(tm_log_delete): New.
(transaction_invariant_address_p): Move up.
(tm_log_add): Categorize addresses and save transaction invariants
in a separate data structure.
(tm_log_emit): Do not categorize addresses here.
(tm_log_emit_saves): Handle overlaps. Remove fixme.
(tm_log_emit_restores): Same.
(requires_barrier): New parameter.
(expand_assign_tm): New argument to requires_barrier.
(expand_call_tm): Same.
(build_tm_store): Fix typo.
(execute_tm_mark): Remove argument to tm_log_emit.
(expand_transaction): Do not use tm_log_must_generate_saves.
(execute_tm_edges): Call tm_log_delete.
Modified:
branches/transactional-memory/gcc/ChangeLog.tm
branches/transactional-memory/gcc/trans-mem.c