1 /* Verify that overloaded built-ins for vec_mul with int
2 inputs produce the right results. */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target powerpc_p8vector_ok } */
6 /* { dg-options "-mpower8-vector" } */
11 test3 (vector
signed int x
, vector
signed int y
)
13 return vec_mul (x
, y
);
17 test6 (vector
unsigned int x
, vector
unsigned int y
)
19 return vec_mul (x
, y
);
22 /* { dg-final { scan-assembler-times "\[ \t\]vmuluwm" 2 } } */