c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / fold-vec-cmp-int.p8.c
blob1a042da305e77851c8d2f7b32cbcfa76ade06eda
1 /* Verify that overloaded built-ins for vec_cmp with int
2 inputs produce the right code. */
4 /* { dg-do compile } */
5 /* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */
6 /* { dg-require-effective-target powerpc_vsx } */
8 #include "fold-vec-cmp-int.h"
10 /* { dg-final { scan-assembler-times "vcmpequw" 4 } } */
11 /* { dg-final { scan-assembler-times "vcmpgtsw" 4 } } */
12 /* { dg-final { scan-assembler-times "vcmpgtuw" 4 } } */
13 /* { dg-final { scan-assembler-times "xxlnor" 6 } } */