1  /* { dg-do compile { target { powerpc*-*-* } } } */
       2  /* { dg-skip-if "" { powerpc*-*-darwin* powerpc-ibm-aix* } } */
       3  /* { dg-require-effective-target powerpc_vsx_ok } */
       4  /* { dg-require-effective-target dfp } */
       5  /* { dg-options "-O2 -mdejagnu-cpu=power7 -mhard-dfp" } */
       6  /* { dg-final { scan-assembler-times "lfiwzx" 2 } } */
       7  /* { dg-final { scan-assembler-times "stfiwx" 1 } } */
       8  /* { dg-final { scan-assembler-not   "lfd"      } } */
       9  /* { dg-final { scan-assembler-not   "stfd"     } } */
      10  /* { dg-final { scan-assembler-times "dctdp"  2 } } */
      11  /* { dg-final { scan-assembler-times "dadd"   1 } } */
      12  /* { dg-final { scan-assembler-times "drsp"   1 } } */
      13  
      14  /* Test that power7 can directly load/store SDmode variables without using a
      15     bounce buffer.  */
      16  _Decimal32 a;
      17  
      18  void inc_dec32 (void)
      19  {
      20    a += (_Decimal32) 1.0;
      21  }