Debian Codegraph @

gcc/testsuite/gcc.target/i386/builtin-bswap-2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -march=nocona" } */
3 /* { dg-final { scan-assembler-not "bswap\[ \t\]" } } */
4
5 int foo(int x)
6 {
7 int t = __builtin_bswap32 (x);
8 return __builtin_bswap32 (t);
9 }
10