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