* gcc.target/powerpc/builtins-1-be.c <vclzb>: Rename duplicate test
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / fold-vec-mult-longlong.c
blob38dba9f50231f6f5d7603034b6d3f7296b67cf11
1 /* Verify that overloaded built-ins for vec_mul with long long
2 inputs produce the right results. */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target powerpc_p8vector_ok } */
6 /* { dg-options "-maltivec -mvsx -mpower8-vector" } */
7 /* { dg-additional-options "-maix64" { target powerpc-ibm-aix* } } */
9 #include <altivec.h>
11 vector signed long long
12 test3 (vector signed long long x, vector signed long long y)
14 return vec_mul (x, y);
17 vector unsigned long long
18 test6 (vector unsigned long long x, vector unsigned long long y)
20 return vec_mul (x, y);
23 /* { dg-final { scan-assembler-times "\[ \t\]mulld " 4 { target lp64 } } } */