[RS6000] Tests that use int128_t and -m32
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / bfp / scalar-test-data-class-11.c
blob7c6fca2b7292bfda51e096301f67150bbaa4a3b8
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-require-effective-target powerpc_p9vector_ok } */
3 /* { dg-options "-mdejagnu-cpu=power8" } */
5 #include <altivec.h>
6 #include <stdbool.h>
8 bool
9 test_data_class (__ieee128 *p)
11 __ieee128 source = *p;
13 return __builtin_vec_scalar_test_data_class (source, 3); /* { dg-error "'__builtin_vsx_scalar_test_data_class_qp' requires" } */