(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
powerpc/
fold-vec-cmp-short.p8.c
       1  /* Verify that overloaded built-ins for vec_cmp with short
       2     inputs produce the right code.  */
       3  
       4  /* { dg-do compile } */
       5  /* { dg-require-effective-target powerpc_p8vector_ok } */
       6  /* { dg-options "-mpower8-vector -mdejagnu-cpu=power8 -O2" } */
       7  
       8  #include "fold-vec-cmp-short.h"
       9  
      10  /* { dg-final { scan-assembler-times "vcmpequh" 4 } } */
      11  /* { dg-final { scan-assembler-times "vcmpneh" 0 } } */
      12  /* { dg-final { scan-assembler-times "vcmpgtsh" 4 } } */
      13  /* { dg-final { scan-assembler-times "vcmpgtuh" 4 } } */
      14  /* { dg-final { scan-assembler-times "xxlnor" 6 } } */
      15