[testsuite] Fix directives order
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr66144-2.c
blob13099a60383305de5c859105491703c9da340c9f
1 /* { dg-do compile { target { powerpc64*-*-* } } } */
2 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
3 /* { dg-require-effective-target powerpc_p8vector_ok } */
4 /* { dg-options "-mcpu=power8 -O2" } */
6 /* Verify that we optimize vector1 = (vector2 != vector3) by not loading up
7 0/-1. */
9 vector unsigned char
10 test (vector unsigned char a, vector unsigned char b)
12 return a != b;
15 /* { dg-final { scan-assembler {\mvcmpequb\M} } } */
16 /* { dg-final { scan-assembler {\mxxlnor\M} } } */
17 /* { dg-final { scan-assembler-not {\mxxspltib\M} } } */
18 /* { dg-final { scan-assembler-not {\mvspltisw\M} } } */
19 /* { dg-final { scan-assembler-not {\mxxlxor\M} } } */
20 /* { dg-final { scan-assembler-not {\mxxlxorc\M} } } */
21 /* { dg-final { scan-assembler-not {\mxxsel\M} } } */