This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix PR middle-end/45416, missing opt for (a&(1<<C))!=0 to (a>>C)&1


On Thu, Dec 8, 2011 at 1:32 PM, Richard Henderson <rth@redhat.com> wrote:
> On 12/06/2011 08:17 PM, Andrew Pinski wrote:
>> + Â if (a & (long long) 0x400)
>> + Â Â Âreturn 1;
>> + Â return 0;
>> +}
>> +
>> +/* { dg-final { scan-assembler "andl" { target i?86-*-linux* x86_64-*-linux* } } } " */
>> +/* { dg-final { scan-assembler "setne" { target i?86-*-linux* x86_64-*-linux* } } }" */
>
> Huh? ÂWhy would we want to find setne here?

I fixed that in the patch which I committed and I forgot to mention that here.

Thanks,
Andrew Pinski


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