This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [4.7][SH] Binary compatibility with atomic_test_and_test_trueval != 1
- From: Richard Henderson <rth at redhat dot com>
- To: Oleg Endo <oleg dot endo at t-online dot de>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>, kkojima at gcc dot gnu dot org
- Date: Sat, 03 Mar 2012 10:31:17 -0800
- Subject: Re: [4.7][SH] Binary compatibility with atomic_test_and_test_trueval != 1
- Authentication-results: mr.google.com; spf=pass (google.com: domain of rth7680@gmail.com designates 10.52.95.74 as permitted sender) smtp.mail=rth7680@gmail.com; dkim=pass header.i=rth7680@gmail.com
- References: <4F21D3AC.2030500@redhat.com> <1330442171.2929.150.camel@yam-132-YW-E178-FTW> <4F510D55.4090803@redhat.com>
On 03/02/2012 10:11 AM, Richard Henderson wrote:
> I'm in the process of sanity testing this on x86_64 with trueval set to 0x80.
> Jakub, ok for 4.7 branch if it passes?
>
> * optabs.c (expand_atomic_test_and_set): Honor
> atomic_test_and_set_trueval even when atomic_test_and_set
> optab is not in use.
I've committed this patch to mainline. I still think it ought to
go onto the 4.7 branch...
r~