* gcc.target/i386/pr70021.c: Add -mtune=skylake.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / builtin-bswap-2.c
blob818aa76b95dbf99e98b40f8ae35a9533e7c6983b
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -march=nocona" } */
3 /* { dg-final { scan-assembler-not "bswap\[ \t\]" } } */
5 int foo(int x)
7 int t = __builtin_bswap32 (x);
8 return __builtin_bswap32 (t);