blob: 7247636da1a6bdf40113a6579b4738c730ce7c07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* Verify that overloaded built-ins for vec_madd with
double inputs produce the right results. */
/* { dg-do compile } */
/* { dg-options "-mvsx -O2" } */
/* { dg-require-effective-target powerpc_vsx } */
#include <altivec.h>
vector double
testd_l (vector double vd2, vector double vd3, vector double vd4)
{
return vec_madd (vd2, vd3, vd4);
}
/* { dg-final { scan-assembler-times "xvmaddmdp|xvmaddadp" 1 } } */
|