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