blob: 8ea5711c6ee418fd88bd8ddd81bb391160c715ce [file] [log] [blame]
/* Tests if we generate rsub instructions when compiling using
floating point assist instructions. */
/* { dg-do compile } */
/* { dg-skip-if "" { ! { clmcpu } } } */
/* { dg-options "-mfpu=fpuda -mcpu=arcem" } */
double foo (double a)
{
return ((double) 0.12 - a);
}
/* { dg-final { scan-assembler-not "drsub.*" } } */