* g++.dg/other/i386-2.C (dg-options): Add -mavx512pf.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / movbe-1.c
blob391d4ad9814f38a831241482e132399f87dec537
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mmovbe" } */
4 extern int x;
6 void
7 foo (int i)
9 x = __builtin_bswap32 (i);
12 int
13 bar ()
15 return __builtin_bswap32 (x);
18 /* { dg-final { scan-assembler-times "movbe\[ \t\]" 2 } } */