1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_vsx_ok } */
3 /* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */
5 /* This test should succeed on both 32- and 64-bit configurations. */
8 int doTestBCDSignificance (_Decimal128
*p
)
10 _Decimal128 source
= *p
;
12 return __builtin_dfp_dtstsfi_eq_td (5, source
);
15 /* { dg-final { scan-assembler "dtstsfiq" } } */