1 /* Verify that overloaded built-ins for vec_cmp with int
2 inputs produce the right code. */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target powerpc_vsx_ok } */
6 /* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */
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 } } */