From: Richard Henderson <rth@redhat.com>
To: Andrew MacLeod <amacleod@redhat.com>
Cc: Aldy Hernandez <aldyh@redhat.com>,
Jakub Jelinek <jakub@redhat.com>,
"Joseph S. Myers" <joseph@codesourcery.com>,
gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [cxx-mem-model] sync_mem_exchange implementation with memory model parameters
Date: Wed, 22 Jun 2011 20:36:00 -0000 [thread overview]
Message-ID: <4E024E6C.6060109@redhat.com> (raw)
In-Reply-To: <4E011ABC.8070608@redhat.com>
On 06/21/2011 03:27 PM, Andrew MacLeod wrote:
> * doc/extend.texi (__sync_mem_exchange): Document.
> * cppbuiltin.c (define__GNUC__): Define __SYNC_MEM*.
> * c-family/c-common.c (BUILT_IN_SYNC_MEM_EXCHANGE_N): Add case.
> * optabs.c (expand_sync_mem_exchange): New.
> * optabs.h (enum direct_optab_index): Add DOI_sync_mem_exchange entry.
> (sync_mem_exchange_optab): Define.
> * genopinit.c: Add entry for sync_mem_exchange.
> * builtins.c (get_memmodel): New.
> (expand_builtin_sync_mem_exchange): New.
> (expand_builtin_sync_synchronize): Remove static.
> (expand_builtin): Add cases for BUILT_IN_SYNC_MEM_EXCHANGE_*.
> * sync-builtins.def: Add entries for BUILT_IN_SYNC_MEM_EXCHANGE_*.
> * testsuite/gcc.dg/x86-sync-1.c: New test.
> * builtin-types.def (BT_FN_I{1,2,4,8,16}_VPTR_I{1,2,4,8,16}_INT): New.
> * expr.h (expand_sync_mem_exchange): Declare.
> (expand_builtin_sync_synchronize): Declare.
> * fortran/types.def (BT_FN_I{1,2,4,8,16}_VPTR_I{1,2,4,8,16}_INT): New.
> * coretypes.h (enum memmodel): New.
> * Makefile.in (cppbuiltin.o) Add missing dependency on $(TREE_H)
> * config/i386/sync.md (sync_mem_exchange<mode>): New pattern.
>
Looks good.
r~
next prev parent reply other threads:[~2011-06-22 20:20 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-24 8:27 __sync_swap* with acq/rel/full memory barrier semantics Aldy Hernandez
2011-05-24 9:25 ` Joseph S. Myers
2011-05-30 22:53 ` Andrew MacLeod
2011-05-31 13:12 ` Jakub Jelinek
2011-05-31 15:23 ` Andrew MacLeod
2011-06-02 19:13 ` Aldy Hernandez
2011-06-02 19:25 ` Jakub Jelinek
2011-06-02 19:53 ` Aldy Hernandez
2011-06-03 14:27 ` Richard Henderson
2011-06-17 22:21 ` Andrew MacLeod
2011-06-18 19:49 ` Richard Henderson
2011-06-20 16:39 ` Andrew MacLeod
2011-06-20 22:50 ` Richard Henderson
2011-06-20 23:02 ` Andrew MacLeod
2011-06-20 23:29 ` Richard Henderson
2011-06-21 18:56 ` __sync_swap* [ rename sync builtins ] Andrew MacLeod
2011-06-21 19:03 ` Richard Henderson
2011-06-21 23:03 ` Graham Stott
2011-06-21 23:26 ` Andrew MacLeod
2011-06-22 0:59 ` Andrew MacLeod
2011-06-24 0:35 ` Ian Lance Taylor
2011-06-24 0:38 ` Andrew MacLeod
2011-06-21 23:03 ` [cxx-mem-model] sync_mem_exchange implementation with memory model parameters Andrew MacLeod
2011-06-22 20:36 ` Richard Henderson [this message]
2011-07-08 17:00 ` __sync_swap* with acq/rel/full memory barrier semantics Aldy Hernandez
2011-06-18 23:49 ` Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E024E6C.6060109@redhat.com \
--to=rth@redhat.com \
--cc=aldyh@redhat.com \
--cc=amacleod@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jakub@redhat.com \
--cc=joseph@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).