Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
movbe-4.c
blob: 966bdf52ba05205a1370dcc133514f17398ccf56 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2" } */
#pragma
GCC target
(
"movbe"
)
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 } } */