[RS6000] Tests that use int128_t and -m32
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / vsx-vector-6.p9.c
blob3fdd9f62a4c7e5bbf4f3df348677a13cb391cd9e
1 /* { dg-do compile { target lp64 } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-require-effective-target powerpc_p9vector_ok } */
4 /* { dg-options "-O2 -mdejagnu-cpu=power9" } */
6 /* Source code for the test in vsx-vector-6.h */
7 #include "vsx-vector-6.h"
9 /* { dg-final { scan-assembler-times {\mvmaxub\M} 1 } } */
10 /* { dg-final { scan-assembler-times {\mvmsumshs\M} 1 } } */
11 /* { dg-final { scan-assembler-times {\mvmsumuhs\M} 1 } } */
12 /* { dg-final { scan-assembler-times {\m(?:v|xx)permr?\M} 1 } } */
13 /* { dg-final { scan-assembler-times {\mxvabsdp\M} 1 } } */
14 /* { dg-final { scan-assembler-times {\mxvadddp\M} 1 } } */
15 /* { dg-final { scan-assembler-times {\mxvcmpeqdp\M} 9 } } */
16 /* { dg-final { scan-assembler-times {\mxvcmpgedp\M} 10 } } */
17 /* { dg-final { scan-assembler-times {\mxvcmpgtdp\M} 10 } } */
18 /* { dg-final { scan-assembler-times {\mxvdivdp\M} 1 } } */
19 /* { dg-final { scan-assembler-times {\mxvmadd[am]dp\M} 1 } } */
20 /* { dg-final { scan-assembler-times {\mxvmadd[am]sp\M} 1 } } */
21 /* { dg-final { scan-assembler-times {\mxvmaxdp\M} 1 } } */
22 /* { dg-final { scan-assembler-times {\mxvmindp\M} 1 } } */
23 /* { dg-final { scan-assembler-times {\mxvmsub[am]sp\M} 1 } } */
24 /* { dg-final { scan-assembler-times {\mxvmuldp\M} 1 } } */
25 /* { dg-final { scan-assembler-times {\mxvnmadd[am]dp\M} 1 } } */
26 /* { dg-final { scan-assembler-times {\mxvnmadd[am]sp\M} 1 } } */
27 /* { dg-final { scan-assembler-times {\mxvnmsub[am]dp\M} 1 } } */
28 /* { dg-final { scan-assembler-times {\mxvnmsub[am]sp\M} 1 } } */
29 /* { dg-final { scan-assembler-times {\mxvrdpi\M} 1 } } */
30 /* { dg-final { scan-assembler-times {\mxvrdpic\M} 1 } } */
31 /* { dg-final { scan-assembler-times {\mxvrdpim\M} 1 } } */
32 /* { dg-final { scan-assembler-times {\mxvrdpip\M} 1 } } */
33 /* { dg-final { scan-assembler-times {\mxvrdpiz\M} 1 } } */
34 /* { dg-final { scan-assembler-times {\mxvrspiz\M} 1 } } */
35 /* { dg-final { scan-assembler-times {\mxvsqrtdp\M} 1 } } */
36 /* { dg-final { scan-assembler-times {\mxvmsub[am]dp\M} 1 } } */
37 /* { dg-final { scan-assembler-times {\mxxland\M} 3 } } */
38 /* { dg-final { scan-assembler-times {\mxxlandc\M} 13 } } */
39 /* { dg-final { scan-assembler-times {\mxxlnor\M} 5 } } */
40 /* { dg-final { scan-assembler-times {\mxxlor\M} 9 } } */
41 /* { dg-final { scan-assembler-times {\mxxlxor\M} 3 } } */
42 /* { dg-final { scan-assembler-times {\mxxsel\M} 2 } } */