* gcc.dg/pr21255-1.c: Match different pattern for sh64.
From-SVN: r103905
This commit is contained in:
parent
57d38024e5
commit
cb9a193208
@ -1,3 +1,7 @@
|
||||
2005-09-05 J"orn Rennecke <joern.rennecke@st.com>
|
||||
|
||||
* gcc.dg/pr21255-1.c: Match different pattern for sh64.
|
||||
|
||||
2005-09-04 Thomas Koenig <Thomas.Koenig@online.de>
|
||||
|
||||
PR libfortran/23321
|
||||
|
@ -1,12 +1,14 @@
|
||||
/* { dg-do compile { target "sh*-*-*" } } */
|
||||
/* { dg-options "-O2 -fomit-frame-pointer" } */
|
||||
/* { dg-final { scan-assembler "mov fr4,fr.; mov fr5,fr." } } */
|
||||
/* { dg-final { scan-assembler "mov fr4,fr.; mov fr5,fr." { target sh-*-* } } } */
|
||||
/* { dg-final { scan-assembler "mov fr4,fr.; mov fr5,fr." { target sh[1234lb]*-*-* } } } */
|
||||
/* { dg-final { scan-assembler "mov fr0,fr.; mov fr1,fr." { target sh[56]*-*-* } } } */
|
||||
double
|
||||
f (double d)
|
||||
{
|
||||
double r;
|
||||
|
||||
#if defined (__SH_FPU_DOUBLE__) && !TARGET_SHMEDIA
|
||||
#if defined (__SH_FPU_DOUBLE__)
|
||||
asm ("mov %S1,%S0; mov %R1,%R0" : "=f" (r) : "f" (d));
|
||||
#else
|
||||
asm ("mov fr4,fr4; mov fr5,fr5");
|
||||
|
Loading…
Reference in New Issue
Block a user