1 /* { dg-do compile { target "sh*-*-*" } } */
2 /* { dg-options "-mb -O2 -fomit-frame-pointer" } */
3 /* { dg-final { scan-assembler "mov @r.,r.; mov @\\(4,r.\\),r." } } */
11 /* If -ml from the target options is passed after -mb from dg-options, we
12 end up with th reverse endianness. */
13 #if TARGET_SHMEDIA || defined (__LITTLE_ENDIAN__)
14 asm ("mov @r1,r3; mov @(4,r1),r4");
16 asm ("mov %S1,%S0; mov %R1,%R0" : "=&r" (r
) : "m" (d
));