[RS6000] Tests that use int128_t and -m32
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr79544.c
blob3f782489bbd29433c2fd255ae43e2aae3e49724c
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-require-effective-target powerpc_p8vector_ok } */
3 /* { dg-options "-mdejagnu-cpu=power8 -O2" } */
5 #include <altivec.h>
7 vector unsigned long long
8 test_sra (vector unsigned long long x, vector unsigned long long y)
10 return vec_sra (x, y);
13 vector unsigned long long
14 test_vsrad (vector unsigned long long x, vector unsigned long long y)
16 return vec_vsrad (x, y);
19 /* { dg-final { scan-assembler-times {\mvsrad\M} 2 } } */