Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.target
/
arc
/
mswape.c
blob: 8763825be0a1a63bbd93c1b3b02ab87000d2fad9 [
file
] [
log
] [
blame
]
/* { dg-options "-mswape" } */
/* { dg-do assemble } */
/* { dg-skip-if "" { arc6xx } } */
int
f
(
int
i
)
{
__asm__
(
"swape %1, %1"
:
"=r"
(
i
)
:
"r"
(
i
));
return
i
;
}