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 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?


r~


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