c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr88558-p8.c
blob1612d02ab3156679338e4b234efe1c10fb20ce74
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-math-errno -mdejagnu-cpu=power8 -mvsx" } */
3 /* { dg-require-effective-target powerpc_vsx } */
5 /* -fno-math-errno is required to make {i,l,ll}rint{,f} inlined */
7 #include "pr88558.h"
9 /* { dg-final { scan-assembler-times {\mfctid\M} 4 { target lp64 } } } */
10 /* { dg-final { scan-assembler-times {\mfctid\M} 2 { target { ilp32 && has_arch_ppc64 } } } } */
11 /* { dg-final { scan-assembler-times {\mfctiw\M} 2 { target lp64 } } } */
12 /* { dg-final { scan-assembler-times {\mfctiw\M} 4 { target ilp32 } } } */
13 /* { dg-final { scan-assembler-times {\mmfvsrwz\M} 2 { target lp64 } } } */
14 /* { dg-final { scan-assembler-times {\mmfvsrwz\M} 4 { target ilp32 } } } */