1  /* { dg-do compile { target { ! ia32 } } } */
       2  /* { dg-options "-O2 -msse2 -mno-mmx" } */
       3  /* { dg-final { scan-assembler-times "pshufd" 1 } } */
       4  /* { dg-final { scan-assembler-times "movd" 1 } } */
       5  /* { dg-final { scan-assembler-not "movl" } } */
       6  
       7  #include <mmintrin.h>
       8  
       9  __m64
      10  foo (int i)
      11  {
      12    __v2si x = { i, i };
      13    return (__m64) x;
      14  }