1  /* { dg-do compile } */
       2  /* { dg-require-effective-target powerpc_p9vector_ok } */
       3  /* { dg-options "-mdejagnu-cpu=power9" } */
       4  
       5  /* This test should succeed on both 32- and 64-bit configurations.  */
       6  #include <altivec.h>
       7  
       8  int doTestBCDSignificance (_Decimal128 *p)
       9  {
      10    _Decimal128 source = *p;
      11  
      12    return __builtin_dfp_dtstsfi_lt_td (5, source);
      13  }
      14  
      15  /* { dg-final { scan-assembler	   "dtstsfiq" } } */
      16