r141152 - in /branches/transactional-memory/gcc...
rth@gcc.gnu.org
rth@gcc.gnu.org
Wed Oct 15 22:43:00 GMT 2008
Author: rth
Date: Wed Oct 15 22:43:41 2008
New Revision: 141152
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141152
Log:
* builtin-attrs.def (ATTR_RETURNS_TWICE): New.
(ATTR_RETURNSTWICE_NOTHROW_LIST): New.
* builtin-types.def: Remove many TM special types.
* c-common.c (struct c_common_resword): Add __tm_atomic.
* c-common.h (RID_TM_ATOMIC): New.
* c-parser.c (c_parser_tm_abort): New.
(c_parser_omp_construct): Remove PRAGMA_GTM_ATOMIC.
* c-pragma.c (handle_pragma_optimize): Remove tm atomic pragma.
* c-pragma.h (PRAGMA_GTM_ATOMIC): Remove.
(enum pragma_gtm_clause): Remove.
(c_finish_tm_abort): Remove.
(prepare_tm_clone): Match Intel's transaction suffix. Remove
code to add an explicit handle.
* defaults.h (TINYSTM_VERSION_0_9_5, GTM_EXPL_HANDLE,
GTM_IMPL_HANDLE, TANGER): Remove.
* gimple-low.c (lower_tm_atomic): Add label after the tm_atomic.
(lower_stmt): Remove GIMPLE_GTM_RETURN, GIMPLE_GTM_ABORT.
* gimple.c (gss_for_code): Likewise.
(gimple_size): Add GSS_TM_ATOMIC.
(gimple_build_tm_atomic): Add label.
* gimple-pretty-print.c (dump_gimple_gtm_other): Remove.
* gimple.def (GIMPLE_GTM_RETURN, GIMPLE_GTM_ABORT): Remove.
* gimple.h (struct gimple_statement_tm_atomic): New.
(gimple_tm_atomic_label, gimple_tm_atomic_set_label): New.
(is_gimple_gtm): Remove.
* gimplify.c (gimplify_tm_atomic): Wrap the body in EH stuff.
* gsstruct.def (GSS_TM_ATOMIC): New.
* gtm-builtins.def: Remove conditional code, simplify interface.
* gtm-low.c (root_gtm_region, dump_gtm_region, debug_gtm_region,
debug_all_gtm_regions, new_gtm_region, free_gtm_region_1,
free_gtm_regions, build_gtm_regions_1, build_gtm_regions,
remove_gtm_stmts): Remove.
* tree-cfg.c (make_edges) [GIMPLE_TM_ATOMIC]: Make the edge to
the out label.
* tree-flow.h (struct gtm_region): Remove.
* tree.def (GTM_ABORT): Remove.
* all files: s/GTM/TM/, s/gtm/tm/.
Modified:
branches/transactional-memory/gcc/ChangeLog.tm
branches/transactional-memory/gcc/builtin-attrs.def
branches/transactional-memory/gcc/builtin-types.def
branches/transactional-memory/gcc/builtins.def
branches/transactional-memory/gcc/c-common.c
branches/transactional-memory/gcc/c-common.h
branches/transactional-memory/gcc/c-decl.c
branches/transactional-memory/gcc/c-parser.c
branches/transactional-memory/gcc/c-pragma.c
branches/transactional-memory/gcc/c-pragma.h
branches/transactional-memory/gcc/c-tree.h
branches/transactional-memory/gcc/c-typeck.c
branches/transactional-memory/gcc/cgraphbuild.c
branches/transactional-memory/gcc/cgraphunit.c
branches/transactional-memory/gcc/common.opt
branches/transactional-memory/gcc/defaults.h
branches/transactional-memory/gcc/gimple-low.c
branches/transactional-memory/gcc/gimple-pretty-print.c
branches/transactional-memory/gcc/gimple.c
branches/transactional-memory/gcc/gimple.def
branches/transactional-memory/gcc/gimple.h
branches/transactional-memory/gcc/gimplify.c
branches/transactional-memory/gcc/gsstruct.def
branches/transactional-memory/gcc/gtm-builtins.def
branches/transactional-memory/gcc/gtm-low.c
branches/transactional-memory/gcc/ipa-inline.c
branches/transactional-memory/gcc/omp-low.c
branches/transactional-memory/gcc/passes.c
branches/transactional-memory/gcc/tree-cfg.c
branches/transactional-memory/gcc/tree-flow.h
branches/transactional-memory/gcc/tree-inline.c
branches/transactional-memory/gcc/tree-inline.h
branches/transactional-memory/gcc/tree-pass.h
branches/transactional-memory/gcc/tree-pretty-print.c
branches/transactional-memory/gcc/tree.def
branches/transactional-memory/gcc/tree.h
More information about the Gcc-cvs
mailing list