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