| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -march=c64x+" } */ |
| 3 |
/* { dg-final { scan-assembler-not "call" } } */ |
| 4 |
|
| 5 |
int foo (int x) |
| 6 |
{ |
| 7 |
return __builtin_bswap32 (x); |
| 8 |
} |
| 9 |
|
| 10 |
long long bar (long long x) |
| 11 |
{ |
| 12 |
return __builtin_bswap64 (x); |
| 13 |
} |