blob: 3fb1e8ee8c776b78ef8925367ad90b715bd5e8b9 [file] [log] [blame]
/* Verify that we generate fmov.d instructions to move doubles when -mfmovd
option is enabled. */
/* { dg-do compile { target { double_fpu } } } */
/* { dg-options "-mfmovd" } */
/* { dg-final { scan-assembler "fmov.d" } } */
extern double g;
void
f (double d)
{
g = d;
}
extern float h;
void f2 ()
{
h = g;
}