1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
3 /* { dg-require-effective-target powerpc_p9vector_ok } */
4 /* { dg-skip-if "" { powerpc*-*-aix* } } */
5 /* { dg-options "-mcpu=power8" } */
6 
7 #include <altivec.h>
8 
doTestBCDSignificance(_Decimal64 * p)9 int doTestBCDSignificance (_Decimal64 *p)
10 {
11   _Decimal64 source = *p;
12 
13   return __builtin_dfp_dtstsfi_gt (5, source);	/* { dg-error "builtin function '__builtin_dtstsfi_gt_dd' requires" } */
14 }
15 
16