[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / vec-cmpne-runnable.c
blobc7fff12c69e0d603c66c99e4aeb5650e18774286
1 /* { dg-do run } */
2 /* { dg-require-effective-target vmx_hw } */
3 /* { dg-options "-maltivec -O2 " } */
5 /* Test that the vec_cmpne builtin works as expected. */
7 #include "vec-cmpne.h"
9 define_test_functions (int, signed int, signed int, si);
10 define_test_functions (int, unsigned int, unsigned int, ui);
11 define_test_functions (short, signed short, signed short, ss);
12 define_test_functions (short, unsigned short, unsigned short, us);
13 define_test_functions (char, signed char, signed char, sc);
14 define_test_functions (char, unsigned char, unsigned char, uc);
15 define_test_functions (int, signed int, float, ff);
17 define_init_verify_functions (int, signed int, signed int, si);
18 define_init_verify_functions (int, unsigned int, unsigned int, ui);
19 define_init_verify_functions (short, signed short, signed short, ss);
20 define_init_verify_functions (short, unsigned short, unsigned short, us);
21 define_init_verify_functions (char, signed char, signed char, sc);
22 define_init_verify_functions (char, unsigned char, unsigned char, uc);
23 define_init_verify_functions (int, signed int, float, ff);
25 int main ()
27 execute_test_functions (int, signed int, signed int, si);
28 execute_test_functions (int, unsigned int, unsigned int, ui);
29 execute_test_functions (short, signed short, signed short, ss);
30 execute_test_functions (short, unsigned short, unsigned short, us);
31 execute_test_functions (char, signed char, signed char, sc);
32 execute_test_functions (char, unsigned char, unsigned char, uc);
33 execute_test_functions (int, signed int, float, ff);
35 return 0;