| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2" } */ |
| 3 |
|
| 4 |
int f2 (int x) |
| 5 |
{ |
| 6 |
x &= 0x0ffffff8; |
| 7 |
|
| 8 |
x &= 0xff001fff; |
| 9 |
|
| 10 |
return x; |
| 11 |
} |
| 12 |
|
| 13 |
/* { dg-final { scan-assembler-times "and\t" 2 } } */ |
| 14 |
/* { dg-final { scan-assembler-not "movk\t" } } */ |