summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vmx/ira2c.c
blob: bce5469ceaa886e37bc096d2d02912bf0c7a7b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */

double __fabs(double a) { return a; }
double __fmadd(double a, double b, double c) { return a*b+c; }

double
test(double f32a, double f32b, double f32c)
{
  f32c = __fabs(f32a);
  return __fmadd(f32a, f32b, f32c);
}