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_vsx_ok } */
6 /* { dg-options "-mvsx" } */
7 /* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */
12 test3 (vector
signed int x
, vector
signed int y
)
14 return vec_mul (x
, y
);
18 test6 (vector
unsigned int x
, vector
unsigned int y
)
20 return vec_mul (x
, y
);
23 /* { dg-final { scan-assembler-times "\[ \t\]vmuluwm" 2 } } */