1  /* { dg-do compile } */
       2  /* { dg-require-effective-target int128 } */
       3  /* { dg-options "-O2 -mdejagnu-cpu=power8" } */
       4  
       5  typedef struct
       6  {
       7    __int128_t x;
       8    __int128_t y;
       9  } foo_t;
      10  
      11  void
      12  foo (long cond, foo_t *dst, __int128_t src)
      13  {
      14    if (cond)
      15    {
      16      dst->x = src;
      17      dst->y = src;
      18    }
      19  }
      20  
      21  /* { dg-final { scan-assembler-times {\mstd\M} 4 } } */
      22  /* { dg-final { scan-assembler-not {\mld\M} } } */