This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Optimize bit test and * atomics into lock; bt[src] (PR target/49244)
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Richard Biener <rguenther at suse dot de>
- Cc: Jakub Jelinek <jakub at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 3 May 2016 13:09:32 +0200
- Subject: Re: [PATCH] Optimize bit test and * atomics into lock; bt[src] (PR target/49244)
- Authentication-results: sourceware.org; auth=none
- References: <20160502163631 dot GP26501 at tucnak dot zalov dot cz> <CAFULd4a_A9vR3XVajC6Cp932Z90UsejqM18UYtAWjH3hSE+5uQ at mail dot gmail dot com> <20160503105856 dot GV26501 at tucnak dot zalov dot cz> <alpine dot LSU dot 2 dot 11 dot 1605031304280 dot 13384 at t29 dot fhfr dot qr>
On Tue, May 3, 2016 at 1:04 PM, Richard Biener <rguenther@suse.de> wrote:
> On Tue, 3 May 2016, Jakub Jelinek wrote:
>
>> On Mon, May 02, 2016 at 11:01:02PM +0200, Uros Bizjak wrote:
>> > Please don't use operands[N] without corresponding (match_dup N) in
>> > the RTL pattern. Tthe "operands" array is only as long as the last
>> > operand number from the pattern. Just grep the pattern name from
>> > generated insn-emit.c and you will see the problem.
>> ...
>>
>> Ok, here is updated patch, bootstrapped/regtested on x86_64-linux and
>> i686-linux, ok for trunk?
>
> The middle-end parts are ok.
Also x86 part.
Thanks,
Uros.