Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / fold-vec-cmp-short.p9.c
blob1fc685893130f9214cb04eadeb769f6847d4f089
1 /* Verify that overloaded built-ins for vec_cmp with short
2 inputs produce the right code. */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target powerpc_p9vector_ok } */
6 /* { dg-options "-mpower9-vector -mcpu=power9 -O2" } */
7 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */
9 #include "fold-vec-cmp-short.h"
11 /* { dg-final { scan-assembler-times "vcmpequh" 2 } } */
12 /* { dg-final { scan-assembler-times "vcmpneh" 2 } } */
13 /* { dg-final { scan-assembler-times "vcmpgtsh" 4 } } */
14 /* { dg-final { scan-assembler-times "vcmpgtuh" 4 } } */
15 /* { dg-final { scan-assembler-times "xxlnor" 4 } } */