ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/arc/mswape.c

10 lines
168 B
C

/* { dg-options "-mswape" } */
/* { dg-do assemble } */
/* { dg-skip-if "" { arc6xx } } */
int f (int i)
{
__asm__("swape %1, %1" : "=r"(i) : "r"(i));
return i;
}