1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -msse2 -mno-avx" } */
       3  /* { dg-final { scan-assembler-not {(?n)movhpd[ \t]+} } }  */
       4  
       5  struct X { double x[4]; };
       6  typedef double v2df __attribute__((vector_size(16)));
       7  
       8  extern void bar (void);
       9  v2df __attribute__((noipa))
      10  foo (struct X x, struct X y)
      11  {
      12    bar ();
      13    return (v2df) {x.x[1], x.x[0] } + (v2df) { y.x[1], y.x[0] };
      14  }