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(_Decimal128 * p)9 int doTestBCDSignificance (_Decimal128 *p)
10 {
11 _Decimal128 source = *p;
12
13 return __builtin_dfp_dtstsfi_ov (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_ov_td' requires" } */
14 }
15
16
17