diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/sh/pr21255-2-ml.c')
-rw-r--r-- | gcc/testsuite/gcc.target/sh/pr21255-2-ml.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/testsuite/gcc.target/sh/pr21255-2-ml.c b/gcc/testsuite/gcc.target/sh/pr21255-2-ml.c index c63a573..570e7dd 100644 --- a/gcc/testsuite/gcc.target/sh/pr21255-2-ml.c +++ b/gcc/testsuite/gcc.target/sh/pr21255-2-ml.c @@ -1,5 +1,6 @@ /* { dg-do compile { target "sh*-*-*" } } */ -/* { dg-options "-ml -O2 -fomit-frame-pointer" } */ +/* { dg-options "-O2 -fomit-frame-pointer" } */ +/* { dg-skip-if "" { "sh*-*-*" } { "-mb" && "-m5*"} { "" } } */ /* { dg-final { scan-assembler "mov @\\(4,r.\\),r.; mov @r.,r." } } */ double d; @@ -7,13 +8,6 @@ double f (void) { double r; - -/* If -mb from the target options is passed after -ml from dg-options, we - end up with th reverse endianness. */ -#if TARGET_SHMEDIA || defined (__BIG_ENDIAN__) - asm ("mov @(4,r1),r4; mov @r1,r3"); -#else asm ("mov %S1,%S0; mov %R1,%R0" : "=&r" (r) : "m" (d)); -#endif return r; } |