This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] atomic test and set re-org.
- From: Richard Henderson <rth at redhat dot com>
- To: Oleg Endo <oleg dot endo at t-online dot de>
- Cc: Andrew MacLeod <amacleod at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 21 Dec 2011 08:16:29 -0800
- Subject: Re: [PATCH] atomic test and set re-org.
- References: <4ECEAE1B.6070304@redhat.com> <1324471777.18753.528.camel@yam-132-YW-E178-FTW>
On 12/21/2011 04:49 AM, Oleg Endo wrote:
> BTW, currently the only target utilizing the new atomic_test_and_set is
> SPARC. However, as far as I've observed an expander like
>
> (define_expand "atomic_test_and_set<mode>"
That's a mistake. The mode is significant -- it's the mode of the memory.
I'm sorry I missed that when reviewing Andrew's patch.
I guess there's more that'll be needed to actually make the code work.
r~