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]

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


Author: aldyh
Date: Tue Oct  6 14:02:42 2009
New Revision: 152496

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152496
Log:
        * tree.h (BUILTIN_TM_LOAD_STORE_P): New.
        (BUILTIN_TM_LOAD_P): New.
        (BUILTIN_TM_STORE_P): New.
        (CASE_BUILT_IN_TM_LOAD): New.
        (CASE_BUILT_IN_TM_STORE): New.
        * testsuite/gcc.dg/tm/memopt-2.c: Update for new dump code.
        * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Replace load
        cases by a call to BUILTIN_TM_LOAD_P.
        (call_may_clobber_ref_p_1): Replace store cases by a call to
        BUILTIN_TM_STORE_P.
        * trans-mem.c (is_tm_load): Replace load cases by a call to
        BUILTIN_TM_LOAD_P.
        (is_tm_store): Replace store cases by a call to
        BUILTIN_TM_STORE_P.
        (dump_tm_memopt_transform): Do not use prefix; just dump the new
        statement.
        (TRANSFORM_*): New macros.
        (tm_memopt_transform_stmt): Do the actual transformation.
        (tm_memopt_transform_blocks): Change calls to
        dump_tm_memopt_transform into calls to tm_memopt_transform_stmt.
        * calls.c (special_function_p): Change TM load/store cases into a
        call to BUILTIN_TM_LOAD_STORE_P.
        * gtm-builtins.def: New builtins for the following variants: WaR,
        WaW, RaR, RaW, RfW.
        * tree-ssa-structalias.c (find_func_aliases): Use BUILTIN_TM_*_P
        macros.


Modified:
    branches/transactional-memory/gcc/ChangeLog.tm
    branches/transactional-memory/gcc/calls.c
    branches/transactional-memory/gcc/gtm-builtins.def
    branches/transactional-memory/gcc/testsuite/gcc.dg/tm/memopt-2.c
    branches/transactional-memory/gcc/trans-mem.c
    branches/transactional-memory/gcc/tree-ssa-alias.c
    branches/transactional-memory/gcc/tree-ssa-structalias.c
    branches/transactional-memory/gcc/tree.h


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