| 1 |
/* { dg-do compile { target { ! ia32 } } } */ |
| 2 |
/* { dg-options "-mapx-features=nf -march=x86-64 -O2" } */ |
| 3 |
/* { dg-final { scan-assembler-times "\{nf\} rol" 2 } } */ |
| 4 |
|
| 5 |
long int f1 (int x) { return ~(1ULL << (x & 0x3f)); } |
| 6 |
long int f2 (char x) { return ~(1ULL << (x & 0x3f)); } |