c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / fold-vec-cmp-char.p8.c
blobf3df6993c0bdbd2f3670626da51b5d20c933ff66
1 /* Verify that overloaded built-ins for vec_cmp{eq,ge,gt,le,lt,ne} with
2 char inputs produce the right code when -mcpu=power8 is specified. */
4 /* { dg-do compile } */
5 /* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */
6 /* { dg-require-effective-target powerpc_vsx } */
8 #include "fold-vec-cmp-char.h"
10 /* { dg-final { scan-assembler-times "vcmpequb" 4 } } */
11 /* { dg-final { scan-assembler-times "vcmpgtsb" 4 } } */
12 /* { dg-final { scan-assembler-times "vcmpgtub" 4 } } */
13 /* { dg-final { scan-assembler-times "xxlnor" 6 } } */