1 /* Verify that overloaded built-ins for vec_div with float and
2    double inputs for VSX produce the right results. */
3 
4 /* { dg-do compile } */
5 /* { dg-require-effective-target powerpc_vsx_ok } */
6 /* { dg-options "-mvsx" } */
7 
8 #include <altivec.h>
9 
10 vector double
test2(vector double x,vector double y)11 test2 (vector double x, vector double y)
12 {
13   return vec_div (x, y);
14 }
15 
16 /* { dg-final { scan-assembler-times {\mxvdivdp\M} 1 } } */
17