blob: 0de40a6c47a7d63c1b7a81aeba438a096c0041b8 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2" } */
int
f255 (int x)
{
if (x & 255)
return 1;
return x;
}
int
f65535 (int x)
{
if (x & 65535)
return 1;
return x;
}
/* { dg-final { scan-assembler "tst\t(x|w)\[0-9\]+,\[ \t\]*255" } } */
/* { dg-final { scan-assembler "tst\t(x|w)\[0-9\]+,\[ \t\]*65535" } } */