1 /* Verify that overloaded built-ins for vec_cmp with int 2 inputs produce the right code. */ 3 4 /* { dg-do compile } */ 5 /* { dg-require-effective-target powerpc_vsx_ok } */ 6 /* { dg-options "-mdejagnu-cpu=power7 -O2" } */ 7 8 #include "fold-vec-cmp-int.h" 9 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 } } */ 14