Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
movbe-1.c
blob: 053095ca691532bd2756fb3a3cd48fb78122ae58 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -mmovbe" } */
extern
int
x
;
void
foo
(
int
i
)
{
x
=
__builtin_bswap32
(
i
);
}
int
bar
()
{
return
__builtin_bswap32
(
x
);
}
/* { dg-final { scan-assembler-times "movbel\[ \t\]" 2 } } */