/* Verify that overloaded built-ins for vec_cmp with int inputs produce the right code. */ /* { dg-do compile } */ /* { dg-options "-mvsx -O2" } */ /* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ /* { dg-require-effective-target powerpc_vsx } */ #include "fold-vec-cmp-int.h" /* { dg-final { scan-assembler-times "vcmpequw" 2 } } */ /* { dg-final { scan-assembler-times "vcmpnew" 2 } } */ /* { dg-final { scan-assembler-times "vcmpgtsw" 4 } } */ /* { dg-final { scan-assembler-times "vcmpgtuw" 4 } } */ /* { dg-final { scan-assembler-times "xxlnor" 4 } } */